Skip to content

Commit c4b3e4c

Browse files
committed
Enable static NAT dialog: Fix search filter not working
1 parent 9f18b07 commit c4b3e4c

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎ui/scripts/network.js‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2382,6 +2382,7 @@
23822382

23832383
listView: $.extend(true, {}, cloudStack.sections.instances, {
23842384
listView: {
2385+
advSearchFields: null, // Not supported in dialogs right now due to display issues
23852386
filters: false,
23862387
subselect: {
23872388
label: 'label.use.vm.ip',
@@ -2394,6 +2395,10 @@
23942395
listAll: true
23952396
};
23962397

2398+
if (args.filterBy.search.value) {
2399+
data.name = args.filterBy.search.value;
2400+
}
2401+
23972402
var $tierSelect = $(".ui-dialog-content").find('.tier-select select');
23982403

23992404
// if $tierSelect is not initialized, return; tierSelect() will refresh listView and come back here later

0 commit comments

Comments
 (0)