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

@@ -19,6 +19,7 @@ define('pgadmin.node.fts_configuration', [
// Model for tokens control
var TokenModel = pgAdmin.Browser.Node.Model.extend({
idAttribute: 'token',
defaults: {
token: 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
var OptionLabelModel = pgAdmin.Browser.Node.Model.extend({
idAttribute: 'option',
defaults: {
options: undefined,
option: undefined,
value: undefined,
},
// Define the schema for the Options