Skip to content

Commit a3d221b

Browse files
committed
Add search functionality to global settings
1 parent 9237e91 commit a3d221b

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

ui/scripts/globalSettings.js

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,18 @@
3636
value: { label: 'Value', editable: true }
3737
},
3838
dataProvider: function(args) {
39+
var data = {
40+
page: args.page,
41+
pagesize: pageSize
42+
};
43+
44+
if (args.filterBy.search.value) {
45+
data.name = args.filterBy.search.value;
46+
}
47+
3948
$.ajax({
40-
url: createURL("listConfigurations&page=" + args.page + "&pagesize=" + pageSize),
49+
url: createURL('listConfigurations'),
50+
data: data,
4151
dataType: "json",
4252
async: true,
4353
success: function(json) {

0 commit comments

Comments
 (0)