diff options
| author | 2014-06-01 15:23:30 +0200 | |
|---|---|---|
| committer | 2014-06-01 15:23:30 +0200 | |
| commit | d1b31b1a61e30e7b20afa644bdf5f641653b4569 (patch) | |
| tree | 3cf39cd948e0078682f27760a604f75045b4cdfc /app/Models/EntryDAO.php | |
| parent | f94b6d46f75eebe693af3d253da286c5fc2ad248 (diff) | |
Search order of filters
For now, process them in the same order as specified by the user
Specifying for instance `date:` first will be much faster than
specifying a free text word first.
https://github.com/marienfressinaud/FreshRSS/issues/511
Diffstat (limited to 'app/Models/EntryDAO.php')
| -rw-r--r-- | app/Models/EntryDAO.php | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |
