[pve-devel] applied: [PATCH manager] ui: storage: find the correct storage record

Thomas Lamprecht t.lamprecht at proxmox.com
Thu Nov 26 11:00:27 CET 2020


On 26.11.20 08:58, Dominik Csapak wrote:
> by default, findRecord only anchors at the beginning, e.g.
> findRecord('id', 'foo');
> could find either an entry with id 'foo', 'foobar', 'foobaz', etc.
> 
> extend the call to set 'exactMatch' to true, else we sometimes
> used the content types of storage e.g., 'local-lvm' for showing
> the panels for 'local'
> 
> Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
> ---
> this is the most stupid interface i could imagine for something
> called 'findRecord'... i'll go ahead and check where we use this,
> and try to see if we need to change it there as well...
> 
>  www/manager6/storage/Browser.js | 4 ++++
>  1 file changed, 4 insertions(+)
> 
>

applied, thanks!





More information about the pve-devel mailing list