mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2026-10-26 06:30:06 -05:00
Ensure that the Dictionaries drop-down shows all the dictionaries in the FTS configuration dialog. Fixes #5429
This commit is contained in:
1 parent
43e127de31
commit
5ce2773658
2 files changed
+5
No files matched your search
+4
@@ -34,6 +34,7 @@ define('pgadmin.node.fts_configuration', [
|
||||
id: 'dictname', label: gettext('Dictionaries'), type: 'text', group:null,
|
||||
cellHeaderClasses:'width_percent_50', editable: true,
|
||||
cell:Backgrid.Extension.MultiSelectAjaxCell, url: 'dictionaries',
|
||||
cache_level:'fts_configuration', cache_node:'fts_configuration',
|
||||
}],
|
||||
// Validation for token and dictionary list
|
||||
validate: function() {
|
||||
@@ -108,6 +109,9 @@ define('pgadmin.node.fts_configuration', [
|
||||
pgAdmin.Browser.Nodes[cache_node])
|
||||
|| node;
|
||||
|
||||
// Clear the cache to get the latest dictionaries and parsers.
|
||||
cache_node.clear_cache(this);
|
||||
|
||||
/*
|
||||
* We needs to check, if we have already cached data
|
||||
* for this url. If yes - use it, and do not bother about
|
||||
|
||||
Reference in new issue
Block a user