disable search observation
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Alex Moreno 2022-03-01 11:43:35 +01:00
parent 5a906d075a
commit 2026e909e9
2 changed files with 2 additions and 8 deletions

View File

@ -61,7 +61,7 @@ module.exports = Self => {
u.nickname salesPersonName, u.nickname salesPersonName,
d.amount, d.amount,
co.created, co.created,
CONCAT(DATE(co.created), ' ', co.text) observation, co.text observation,
uw.id workerFk, uw.id workerFk,
uw.nickname workerName, uw.nickname workerName,
c.creditInsurance, c.creditInsurance,

View File

@ -41,11 +41,7 @@ export default class Controller extends Section {
}, },
{ {
field: 'observation', field: 'observation',
autocomplete: { searchable: false
url: 'Defaulters/filter',
showField: 'observation',
valueField: 'observation',
}
}, },
{ {
field: 'created', field: 'created',
@ -116,8 +112,6 @@ export default class Controller extends Section {
exprBuilder(param, value) { exprBuilder(param, value) {
switch (param) { switch (param) {
case 'observation':
return {[`observation`]: {like: `%${value}%`}};
case 'creditInsurance': case 'creditInsurance':
case 'amount': case 'amount':
case 'clientName': case 'clientName':