diff options
author | Andrew Dolgov <[email protected]> | 2013-03-31 16:14:42 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-03-31 16:25:27 +0400 |
commit | 8e8c8934a9da12bf9e47316079407b8e62edcd7b (patch) | |
tree | 809e6951201a2bb5057fc1c4fbe69caa2debad0e /include/functions.php | |
parent | b6173bd561cc1476a7a0c33cb92990158d9b62f9 (diff) |
add necessary schema plumbing to implement filter ordering
also add filter titles
Diffstat (limited to 'include/functions.php')
-rw-r--r-- | include/functions.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/functions.php b/include/functions.php index b9c30c6ce..9f75fc23a 100644 --- a/include/functions.php +++ b/include/functions.php @@ -1,6 +1,6 @@ <?php define('EXPECTED_CONFIG_VERSION', 26); - define('SCHEMA_VERSION', 111); + define('SCHEMA_VERSION', 112); define('LABEL_BASE_INDEX', -1024); define('PLUGIN_FEED_BASE_INDEX', -128); @@ -3192,7 +3192,7 @@ $cat_id = (int)getFeedCategory($link, $feed_id); $result = db_query($link, "SELECT * FROM ttrss_filters2 WHERE - owner_uid = $owner_uid AND enabled = true"); + owner_uid = $owner_uid AND enabled = true ORDER BY order_id, title"); $check_cats = join(",", array_merge( getParentCategories($link, $cat_id, $owner_uid), |