Browse Source

Fix purely negative search filtering

spaghetti 8 years ago
parent
commit
b5128f6336
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      classes/torrentsearch.class.php

+ 1
- 0
classes/torrentsearch.class.php View File

@@ -615,6 +615,7 @@ class TorrentSearch {
615 615
     }
616 616
     $TorrentCount = count($AllTorrents);
617 617
     $this->SphQLTor = new SphinxqlQuery();
618
+    $this->SphQLTor->where_match('_all', 'fake', false);
618 619
     $this->SphQLTor->select('id')->from('torrents, delta');
619 620
     foreach ($this->UsedTorrentFields as $Field => $Term) {
620 621
       $this->SphQLTor->where_match($Term, $Field, false);

Loading…
Cancel
Save