|
|
@ -145,7 +145,7 @@ export default { |
|
|
|
concatenatedXWhere() { |
|
|
|
concatenatedXWhere() { |
|
|
|
let where = '' |
|
|
|
let where = '' |
|
|
|
if (this.searchField && this.searchQuery.trim()) { |
|
|
|
if (this.searchField && this.searchQuery.trim()) { |
|
|
|
const col = this.availableColumns.find(({ _cn }) => _cn === this.searchField) || this.availableColumns[0] |
|
|
|
const col = this.availableColumns.find(({ alias }) => alias === this.searchField) || this.availableColumns[0] |
|
|
|
// bigint values are displayed in string format in UI
|
|
|
|
// bigint values are displayed in string format in UI
|
|
|
|
// when searching bigint values, the operator should be 'eq' instead of 'like'
|
|
|
|
// when searching bigint values, the operator should be 'eq' instead of 'like'
|
|
|
|
if (['text', 'string'].includes(this.sqlUi.getAbstractType(col)) && col.dt !== 'bigint') { |
|
|
|
if (['text', 'string'].includes(this.sqlUi.getAbstractType(col)) && col.dt !== 'bigint') { |
|
|
|