From: Andrew Dolgov Date: Fri, 19 Feb 2016 15:52:54 +0000 (+0300) Subject: pref_filters: sort rules by reg_exp when displaying index X-Git-Tag: 16.3~25 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=4f100ece19f41314dea0fc540bc957762e6ba262;p=tt-rss.git pref_filters: sort rules by reg_exp when displaying index --- diff --git a/classes/pref/filters.php b/classes/pref/filters.php index 20af6e1e..95f82765 100755 --- a/classes/pref/filters.php +++ b/classes/pref/filters.php @@ -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 = "";