[pve-devel] applied: [PATCH manager] fix #1531: match nodename exactly for vmidselector

Wolfgang Bumiller w.bumiller at proxmox.com
Mon Oct 16 11:26:26 CEST 2017


applied

On Mon, Oct 16, 2017 at 11:08:45AM +0200, Dominik Csapak wrote:
> else we would get vms for wrong hosts if the nodename is a pre/postfix
> of another nodename (e.g. 'abc' and 'abc123')
> 
> Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
> ---
>  www/manager6/form/VMSelector.js | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/www/manager6/form/VMSelector.js b/www/manager6/form/VMSelector.js
> index 59d2b587..63f6817b 100644
> --- a/www/manager6/form/VMSelector.js
> +++ b/www/manager6/form/VMSelector.js
> @@ -173,6 +173,7 @@ Ext.define('PVE.form.VMSelector', {
>  	if (me.nodename) {
>  	    me.store.filters.add({
>  		property: 'node',
> +		exactMatch: true,
>  		value: me.nodename
>  	    });
>  	}
> -- 
> 2.11.0



More information about the pve-devel mailing list