workaround for versions of sqlite which we don't really support

This commit is contained in:
Shish 2020-10-26 21:42:06 +00:00
parent 56f9891828
commit 06cb261aa6

View file

@ -97,7 +97,7 @@ class Trash extends Extension
$matches = [];
if (is_null($event->term) && $this->no_trash_query($event->context)) {
$event->add_querylet(new Querylet("trash = :false", ["false"=>false]));
$event->add_querylet(new Querylet("trash != :true", ["true"=>true]));
}
if (is_null($event->term)) {