summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2020-01-06 09:25:49 +0100
committerYorhel <git@yorhel.nl>2020-01-06 09:26:14 +0100
commit4912ac80a362d501d197312be331c86b57e56881 (patch)
tree9b8f318aa397c97d853c882dd12ff36c18b53f42
parent511f09d3f2629253d48047999b61db99bce81b04 (diff)
Char/VN filters: Keep tagspoil level even if no tags/traits are selected
https://vndb.org/t2520.349
-rw-r--r--data/js/filter.js3
1 files changed, 0 insertions, 3 deletions
diff --git a/data/js/filter.js b/data/js/filter.js
index 501a31a9..8c2edb6d 100644
--- a/data/js/filter.js
+++ b/data/js/filter.js
@@ -226,9 +226,6 @@ function serialize(obj) {
values[fo.fil_code] = v;
}
- if(!values['tag_inc'] && !values['trait_inc'])
- delete values['tagspoil'];
-
var l = [];
for(var f in values)
l.push(f+'-'+values[f]);