all lists on lists.proxmox.com
 help / color / mirror / Atom feed
* [PATCH manager] fix #7623: ui: backup: only list guests of the selected pool
@ 2026-09-25  9:20 Michal Fox
  0 siblings, 0 replies; only message in thread
From: Michal Fox @ 2026-09-25  9:20 UTC (permalink / raw)
  To: pve-devel

The guest list in the backup job editor filters the resource store by
the selected pool. With a plain string value, ExtJS matches any pool
that starts with it, ignoring case, so selecting 'Clients' also listed
the guests of 'Clients/Client1', 'Clients/Client2' and 'clients'.

The job itself only backs up the guests of the selected pool, so the
editor suggested that guests are covered which are not.

Match the pool id exactly and case-sensitively.

Signed-off-by: Michal Fox <me@dualfroz.com>
---
 www/manager6/dc/Backup.js | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/www/manager6/dc/Backup.js b/www/manager6/dc/Backup.js
index d3db9d9c..aace0852 100644
--- a/www/manager6/dc/Backup.js
+++ b/www/manager6/dc/Backup.js
@@ -124,6 +124,9 @@ Ext.define('PVE.dc.BackupEdit', {
                     id: 'poolFilter',
                     property: 'pool',
                     value: poolid,
+                    // a plain string filter would also match child pools like 'poolid/child'
+                    exactMatch: true,
+                    caseSensitive: true,
                 },
             ]);
             vmgrid.selModel.selectAll(true);
-- 
2.43.0




^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-09-25  9:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-25  9:20 [PATCH manager] fix #7623: ui: backup: only list guests of the selected pool Michal Fox

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal