Merge pull request 'feat: #7130 added "served" field to RouteList table(Salix).' (!2219) from 7130-addFieldInRoutes into dev
gitea/salix/pipeline/head This commit looks good Details

Reviewed-on: #2219
Reviewed-by: Javi Gallego <jgallego@verdnatura.es>
This commit is contained in:
Jon Elias 2024-04-18 09:34:35 +00:00
commit f7a6d47c04
1 changed files with 8 additions and 0 deletions

View File

@ -67,6 +67,12 @@ module.exports = Self => {
type: 'string',
description: 'The description filter',
http: {source: 'query'}
},
{
arg: 'isOk',
type: 'boolean',
description: 'The isOk filter',
http: {source: 'query'}
}
],
returns: {
@ -102,6 +108,8 @@ module.exports = Self => {
case 'agencyModeFk':
param = `r.${param}`;
return {[param]: value};
case 'isOk':
return {'r.isOk': value};
}
});