if the checkbox is not checked, we set the value of the vmid filter to ''
but left 'exactMatch' enabled, which means we filter all out where
the vmid is not ''

what we instead want is to remove also the exactMatch so that we
get *all* entries back not *none*

Signed-off-by: Dominik Csapak <[email protected]>
---
 www/manager6/grid/BackupView.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/www/manager6/grid/BackupView.js b/www/manager6/grid/BackupView.js
index ff998315..ff8d69ec 100644
--- a/www/manager6/grid/BackupView.js
+++ b/www/manager6/grid/BackupView.js
@@ -126,6 +126,7 @@ Ext.define('PVE.grid.BackupView', {
            listeners: {
                change: function(cb, value) {
                    vmidFilter.value = !!value ? vmid : '';
+                   vmidFilter.exactMatch = !!value;
                    updateFilter();
                },
            },
-- 
2.20.1



_______________________________________________
pve-devel mailing list
[email protected]
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to