From 4f100ece19f41314dea0fc540bc957762e6ba262 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 19 Feb 2016 18:52:54 +0300 Subject: [PATCH] pref_filters: sort rules by reg_exp when displaying index --- classes/pref/filters.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/classes/pref/filters.php b/classes/pref/filters.php index 20af6e1e2..95f82765f 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 = "";