Skip to content

A free, self-hostable news aggregator…

Search order of filters

Alexandre Alapetited1b31b1a61e3
diff --git a/app/Models/EntryDAO.php b/app/Models/EntryDAO.php
index 0d8c2ae13..4e24541dc 100644
--- a/app/Models/EntryDAO.php
+++ b/app/Models/EntryDAO.php
@@ -482,7 +482,7 @@ class FreshRSS_EntryDAO extends Minz_ModelPdo {
$filter = trim($filter);
$filter = addcslashes($filter, '\\%_');
$terms = array_unique(explode(' ', $filter));
- sort($terms); //Put #tags first
+ //sort($terms); //Put #tags first //TODO: Put the cheapest filters first
foreach ($terms as $word) {
$word = trim($word);
if (stripos($word, 'intitle:') === 0) {