forked from OpenNeo/impress
advanced nc filter
This commit is contained in:
parent
bce7f6b383
commit
769f5d19e2
1 changed files with 2 additions and 0 deletions
|
@ -223,6 +223,8 @@ function Wardrobe() {
|
|||
filters.push({key: "name", value: query.name.require, is_positive: true});
|
||||
if (query.name.exclude)
|
||||
filters.push({key: "name", value: query.name.exclude, is_positive: false});
|
||||
if (query.nc)
|
||||
filters.push({key: "is_nc", is_positive: (query.nc === "nc")});
|
||||
return filters;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue