This is an automated email from the ASF dual-hosted git repository.
bbende pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nifi-registry.git
The following commit(s) were added to refs/heads/master by this push:
new 6a45797 [NIFIREG-264] add droplet type to explorer/grid-list sort and
filter
6a45797 is described below
commit 6a457971c28edbb5940942d95a66bfcb6d53a9a1
Author: Scott Aslan <[email protected]>
AuthorDate: Thu May 2 12:01:09 2019 -0400
[NIFIREG-264] add droplet type to explorer/grid-list sort and filter
This closes #178.
Signed-off-by: Bryan Bende <[email protected]>
---
.../src/main/webapp/services/nf-registry.service.js | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git
a/nifi-registry-core/nifi-registry-web-ui/src/main/webapp/services/nf-registry.service.js
b/nifi-registry-core/nifi-registry-web-ui/src/main/webapp/services/nf-registry.service.js
index 6e8510a..3ddc088 100644
---
a/nifi-registry-core/nifi-registry-web-ui/src/main/webapp/services/nf-registry.service.js
+++
b/nifi-registry-core/nifi-registry-web-ui/src/main/webapp/services/nf-registry.service.js
@@ -44,7 +44,7 @@ function NfRegistryService(nfRegistryApi, nfStorage,
tdDataTableService, router,
this.documentation = {
link: 'nifi-registry-docs/documentation'
- }
+ };
this.redirectUrl = '/nifi-registry/explorer/grid-list';
// Services
@@ -85,6 +85,11 @@ function NfRegistryService(nfRegistryApi, nfStorage,
tdDataTableService, router,
name: 'modifiedTimestamp',
label: 'Updated',
sortable: true
+ },
+ {
+ name: 'type',
+ label: 'Type',
+ sortable: true
}
];
this.bucketColumns = [
@@ -355,6 +360,9 @@ NfRegistryService.prototype = {
case 'Name':
label = (sortByColumn.sortOrder === 'ASC') ? 'Name (a -
z)' : 'Name (z - a)';
break;
+ case 'Type':
+ label = (sortByColumn.sortOrder === 'ASC') ? 'Type (a -
z)' : 'Type (z - a)';
+ break;
}
return label;
}
@@ -375,6 +383,9 @@ NfRegistryService.prototype = {
case 'Name':
label = (col.sortOrder !== 'ASC') ? 'Name (a - z)' : 'Name (z
- a)';
break;
+ case 'Type':
+ label = (col.sortOrder !== 'ASC') ? 'Type (a - z)' : 'Type (z
- a)';
+ break;
}
return label;
},