NIFI-13428 Added filter by comments to UpdateAttribute Advanced Rules

This closes #8999

Signed-off-by: David Handermann <exceptionfactory@apache.org>
This commit is contained in:
HunterG6700 2024-06-24 19:41:30 +00:00 committed by exceptionfactory
parent 20c815dc12
commit 02ec9b73eb
No known key found for this signature in database
1 changed files with 5 additions and 0 deletions

View File

@ -192,6 +192,9 @@ var ua = {
options: [{
text: 'by name',
value: 'name'
}, {
text: 'by comments',
value: 'comments'
}, {
text: 'by condition',
value: 'condition'
@ -1473,6 +1476,8 @@ var ua = {
// determine the filter type (name, condition, action)
if (filterType.value === 'name') {
return [rule.name];
} else if (filterType.value === 'comments') {
return [rule.comments];
} else if (filterType.value === 'condition') {
var conditions = [];
$.each(rule.conditions, function (_, condition) {