feat: refs #6897 add EntryConfig model and enhance entry filtering with new parameters #3366

Merged
pablone merged 15 commits from 6897-refactorEntryBuyList into dev 2025-02-12 06:37:44 +00:00
1 changed files with 14 additions and 0 deletions
Showing only changes of commit e4cd30bc27 - Show all commits

View File

@ -148,6 +148,18 @@ module.exports = Self => {
description: 'item family id',
http: {source: 'query'}
},
{
arg: 'groupingMode',
type: 'string',
description: 'grouping mode',
http: {source: 'query'}
},
{
arg: 'hasMinPrice',
type: 'boolean',
description: 'grouping mode',
http: {source: 'query'}
},
{
arg: 'groupBy',
type: 'string',
@ -196,6 +208,8 @@ module.exports = Self => {
case 'minPrice':
case 'workerFk':
case 'itemTypeFk':
case 'groupingMode':
case 'hasMinPrice':
return {[param]: value};
}
});