mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed generated SQL when any token in FTS Configuration or any option in FTS Dictionary is changed. Fixes #5268
This commit is contained in:
committed by
Akshay Joshi
parent
75b6341a84
commit
88a1e03314
@@ -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.
|
||||||
@@ -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,
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user