]> git.wh0rd.org Git - tt-rss.git/commitdiff
pref_filters: sort rules by reg_exp when displaying index
authorAndrew Dolgov <noreply@fakecake.org>
Fri, 19 Feb 2016 15:52:54 +0000 (18:52 +0300)
committerAndrew Dolgov <noreply@fakecake.org>
Fri, 19 Feb 2016 15:52:54 +0000 (18:52 +0300)
classes/pref/filters.php

index 20af6e1e20e94e79e59d957c00cbae56b9863402..95f82765fe7cb80206de73a36120ff071b4a3240 100755 (executable)
@@ -216,7 +216,8 @@ class Pref_Filters extends Handler_Protected {
                        FROM
                                ttrss_filters2_rules, ttrss_filter_types
                        WHERE
-                               filter_id = '$filter_id' AND filter_type = ttrss_filter_types.id");
+                               filter_id = '$filter_id' AND filter_type = ttrss_filter_types.id
+                       ORDER BY reg_exp");
 
                $rv = "";