This is an automated email from the ASF dual-hosted git repository. exceptionfactory pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/nifi.git
The following commit(s) were added to refs/heads/main by this push: new 02ec9b73eb NIFI-13428 Added filter by comments to UpdateAttribute Advanced Rules 02ec9b73eb is described below commit 02ec9b73eb68fe0d719a5b4b53701b2f2d7cc1d5 Author: HunterG6700 <hgoller6...@gmail.com> AuthorDate: Mon Jun 24 19:41:30 2024 +0000 NIFI-13428 Added filter by comments to UpdateAttribute Advanced Rules This closes #8999 Signed-off-by: David Handermann <exceptionfact...@apache.org> --- .../nifi-update-attribute-ui/src/main/webapp/js/application.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/nifi-extension-bundles/nifi-update-attribute-bundle/nifi-update-attribute-ui/src/main/webapp/js/application.js b/nifi-extension-bundles/nifi-update-attribute-bundle/nifi-update-attribute-ui/src/main/webapp/js/application.js index db052580b8..e65268966a 100644 --- a/nifi-extension-bundles/nifi-update-attribute-bundle/nifi-update-attribute-ui/src/main/webapp/js/application.js +++ b/nifi-extension-bundles/nifi-update-attribute-bundle/nifi-update-attribute-ui/src/main/webapp/js/application.js @@ -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) {