public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Michal Fox <me@dualfroz.com>
To: pve-devel@lists.proxmox.com
Subject: [PATCH manager] fix #7234: ui: backup job: only select guests of the exact pool
Date: Fri, 27 Nov 2026 11:20:20 +0000	[thread overview]
Message-ID: <20261127112020.7-1-me@dualfroz.com> (raw)

In pool based mode, the guest list is filtered by the selected pool to
show which guests are included. The filter only matched the start of the
pool name and ignored its case, so selecting pool 'a' also selected the
guests of its subpool 'a/b' and of pools like 'ab' or 'A', while the job
itself only backs up the guests of pool 'a'. Match the pool exactly.

Signed-off-by: Michal Fox <me@dualfroz.com>
---
checked the extjs filter matching for pools a, a/b, ab and an upper case a, not clicked through in the gui

 www/manager6/dc/Backup.js | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/www/manager6/dc/Backup.js b/www/manager6/dc/Backup.js
index d3db9d9..405fd3e 100644
--- a/www/manager6/dc/Backup.js
+++ b/www/manager6/dc/Backup.js
@@ -124,6 +124,8 @@ Ext.define('PVE.dc.BackupEdit', {
                     id: 'poolFilter',
                     property: 'pool',
                     value: poolid,
+                    exactMatch: true,
+                    caseSensitive: true,
                 },
             ]);
             vmgrid.selModel.selectAll(true);
-- 
2.43.0




                 reply	other threads:[~2026-11-27 11:20 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261127112020.7-1-me@dualfroz.com \
    --to=me@dualfroz.com \
    --cc=pve-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal