advanced nc filter

This commit is contained in:
Emi Matchu 2014-04-02 20:10:36 -05:00
parent bce7f6b383
commit 769f5d19e2

View file

@ -223,6 +223,8 @@ function Wardrobe() {
filters.push({key: "name", value: query.name.require, is_positive: true}); filters.push({key: "name", value: query.name.require, is_positive: true});
if (query.name.exclude) if (query.name.exclude)
filters.push({key: "name", value: query.name.exclude, is_positive: false}); 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; return filters;
} }