From 781106f8c5b2efaa1965820469c0b13f3cb363a4 Mon Sep 17 00:00:00 2001 From: Dominik Csapak Date: Thu, 26 Nov 2020 09:27:31 +0100 Subject: [PATCH] ui: fix usage of findRecord findRecord does not match exactly, but only at the beginning and case insensitive, by default. Change all calls to be case sensitive and an exactmatch (we never want the default behaviour afaics). Signed-off-by: Dominik Csapak --- www/datastore/Summary.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/www/datastore/Summary.js b/www/datastore/Summary.js index 1a6515ee..25a7b6e5 100644 --- a/www/datastore/Summary.js +++ b/www/datastore/Summary.js @@ -266,7 +266,8 @@ Ext.define('PBS.DataStoreSummary', { }, failure: function(response) { // fallback if e.g. we have no permissions to the config - let rec = Ext.getStore('pbs-datastore-list').findRecord('store', me.datastore); + let rec = Ext.getStore('pbs-datastore-list') + .findRecord('store', me.datastore, 0, false, true, true); if (rec) { me.down('pbsDataStoreNotes').setNotes(rec.data.comment || ""); }