Skip to content

Commit

Permalink
NIFI-13428 Added filter by comments to UpdateAttribute Advanced Rules
Browse files Browse the repository at this point in the history
This closes #8999

Signed-off-by: David Handermann <[email protected]>
  • Loading branch information
HunterG6700 authored and exceptionfactory committed Jun 25, 2024
1 parent 20c815d commit 02ec9b7
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,9 @@ var ua = {
options: [{
text: 'by name',
value: 'name'
}, {
text: 'by comments',
value: 'comments'
}, {
text: 'by condition',
value: 'condition'
Expand Down Expand Up @@ -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) {
Expand Down

0 comments on commit 02ec9b7

Please sign in to comment.