refactor: refs #7366 rename ref to reference
gitea/salix/pipeline/pr-master This commit looks good
Details
gitea/salix/pipeline/pr-master This commit looks good
Details
This commit is contained in:
parent
004780c67b
commit
f63d850ea3
|
@ -86,7 +86,7 @@ module.exports = Self => {
|
||||||
return /^\d+$/.test(value)
|
return /^\d+$/.test(value)
|
||||||
? {'t.id': value}
|
? {'t.id': value}
|
||||||
: {'t.ref': {like: `%${value}%`}};
|
: {'t.ref': {like: `%${value}%`}};
|
||||||
case 'ref':
|
case 'reference':
|
||||||
return {'t.ref': {like: `%${value}%`}};
|
return {'t.ref': {like: `%${value}%`}};
|
||||||
case 'shippedFrom':
|
case 'shippedFrom':
|
||||||
return {'t.shipped': {gte: value}};
|
return {'t.shipped': {gte: value}};
|
||||||
|
|
Loading…
Reference in New Issue