Fixed generated SQL when any token in FTS Configuration or any option in FTS Dictionary is changed. Fixes #5268

This commit is contained in:
Aditya Toshniwal
2020-04-01 15:03:30 +05:30
committed by Akshay Joshi
parent 75b6341a84
commit 88a1e03314
3 changed files with 5 additions and 2 deletions

View File

@@ -17,4 +17,5 @@ Housekeeping
Bug fixes Bug fixes
********* *********
| `Issue #3645 <https://redmine.postgresql.org/issues/3645>`_ - Ensure that the start and end date should be deleted when clear the selection for pgAgent Job. | `Issue #3645 <https://redmine.postgresql.org/issues/3645>`_ - Ensure that the start and end date should be deleted when clear the selection for pgAgent Job.
| `Issue #5268 <https://redmine.postgresql.org/issues/5268>`_ - Fixed generated SQL when any token in FTS Configuration or any option in FTS Dictionary is changed.

View File

@@ -19,6 +19,7 @@ define('pgadmin.node.fts_configuration', [
// Model for tokens control // Model for tokens control
var TokenModel = pgAdmin.Browser.Node.Model.extend({ var TokenModel = pgAdmin.Browser.Node.Model.extend({
idAttribute: 'token',
defaults: { defaults: {
token: undefined, token: undefined,
dictname: undefined, dictname: undefined,

View File

@@ -19,8 +19,9 @@ define('pgadmin.node.fts_dictionary', [
// Extend the browser's node model class to create a option/value pair // Extend the browser's node model class to create a option/value pair
var OptionLabelModel = pgAdmin.Browser.Node.Model.extend({ var OptionLabelModel = pgAdmin.Browser.Node.Model.extend({
idAttribute: 'option',
defaults: { defaults: {
options: undefined, option: undefined,
value: undefined, value: undefined,
}, },
// Define the schema for the Options // Define the schema for the Options