Commit 86cac93c authored by Samir Sadyhov's avatar Samir Sadyhov 🤔

канбан-доска - поправлено условие поиска

parent ed6d69b2
...@@ -43,7 +43,7 @@ const KanbanBoard = { ...@@ -43,7 +43,7 @@ const KanbanBoard = {
param+=`&fields=${this.fieldDict}`; param+=`&fields=${this.fieldDict}`;
} }
if(this.searchString) param += `&searchString=${this.searchString}`; if(this.searchString) param += `&searchString=${this.searchString}`;
if(key) param += `&field=${this.fieldDict}&condition=CONTAINS&key=${key}`; if(key) param += `&field=${this.fieldDict}&condition=TEXT_EQUALS&key=${key}`;
param += `&pageNumber=${currentPage}&countInPart=${countInPart}`; param += `&pageNumber=${currentPage}&countInPart=${countInPart}`;
return param; return param;
}, },
...@@ -61,7 +61,7 @@ const KanbanBoard = { ...@@ -61,7 +61,7 @@ const KanbanBoard = {
let param = `?registryCode=${this.registryCode}`; let param = `?registryCode=${this.registryCode}`;
if(this.filterCode) param += `&filterCode=${this.filterCode}`; if(this.filterCode) param += `&filterCode=${this.filterCode}`;
if(this.searchString) param += `&searchString=${this.searchString}`; if(this.searchString) param += `&searchString=${this.searchString}`;
if(key) param += `&field=${this.fieldDict}&condition=CONTAINS&key=${key}`; if(key) param += `&field=${this.fieldDict}&condition=TEXT_EQUALS&key=${key}`;
param += `&fieldCode=${fieldCode}&countType=sum`; param += `&fieldCode=${fieldCode}&countType=sum`;
return new Promise(resolve => { return new Promise(resolve => {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment