refactor: refs #7366 rename ref to reference #3283

Merged
jorgep merged 1 commits from 7366-fixFilter into master 2024-12-09 11:51:01 +00:00
1 changed files with 2 additions and 2 deletions
Showing only changes of commit f63d850ea3 - Show all commits

View File

@ -86,7 +86,7 @@ module.exports = Self => {
return /^\d+$/.test(value)
? {'t.id': value}
: {'t.ref': {like: `%${value}%`}};
case 'ref':
case 'reference':
return {'t.ref': {like: `%${value}%`}};
case 'shippedFrom':
return {'t.shipped': {gte: value}};