Ensure that the Dictionaries drop-down shows all the dictionaries in the FTS configuration dialog. Fixes #5429

This commit is contained in:
Akshay Joshi 2020-08-04 15:48:20 +05:30
parent 43e127de31
commit 5ce2773658
2 changed files with 5 additions and 0 deletions

View File

@ -25,6 +25,7 @@ Bug fixes
| `Issue #3767 <https://redmine.postgresql.org/issues/3767>`_ - Ensure that the original file format should be retained when saving the same file in SQL editor.
| `Issue #4810 <https://redmine.postgresql.org/issues/4810>`_ - Fixed an issue where the user is not able to save the new row if the table is empty.
| `Issue #5429 <https://redmine.postgresql.org/issues/5429>`_ - Ensure that the Dictionaries drop-down shows all the dictionaries in the FTS configuration dialog.
| `Issue #5490 <https://redmine.postgresql.org/issues/5490>`_ - Make the runtime configuration dialog non-modal.
| `Issue #5632 <https://redmine.postgresql.org/issues/5632>`_ - Ensure that the user will be able to modify the start value of the Identity column.
| `Issue #5646 <https://redmine.postgresql.org/issues/5646>`_ - Ensure that RLS Policy node should be searchable using search object.

View File

@ -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