pref_filters: sort rules by reg_exp when displaying index

This commit is contained in:
Andrew Dolgov 2016-02-19 18:52:54 +03:00
parent d43b6563ef
commit 4f100ece19
1 changed files with 2 additions and 1 deletions

View File

@ -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 = "";