diff options
author | Yorhel <git@yorhel.nl> | 2009-08-08 19:47:25 +0200 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2009-08-08 19:47:52 +0200 |
commit | bf4ee54dbc1a3d6a358883baedde7602a8232da4 (patch) | |
tree | 0a9087cdb31cc676484c680d6d119e8a8ba526ab | |
parent | 763cffca97e49d9908ff4d499cdca150bcad5670 (diff) |
Don't show hidden VN items on g+ pages
Ideally, all tag relations should be removed when hiding a VN, but that
would make hiding a destructive action, while currently it can still be
reverted easilily.
-rw-r--r-- | lib/VNDB/DB/Tags.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/VNDB/DB/Tags.pm b/lib/VNDB/DB/Tags.pm index 755758c7..8cf4ee29 100644 --- a/lib/VNDB/DB/Tags.pm +++ b/lib/VNDB/DB/Tags.pm @@ -208,6 +208,7 @@ sub dbTagVNs { 'tag = ?' => $o{tag}, defined $o{maxspoil} ? ( 'tb.spoiler <= ?' => $o{maxspoil} ) : (), + 'v.hidden = FALSE' => 1, ); my($r, $np) = $self->dbPage(\%o, q| |