mirror of
https://git.tt-rss.org/fox/tt-rss.git
synced 2025-08-08 23:27:36 +02:00
get_all_labels: order by caption
This commit is contained in:
parent
5e78b0c253
commit
51f13e7736
@ -36,7 +36,7 @@ class Labels
|
||||
static function get_all_labels($owner_uid) {
|
||||
$rv = array();
|
||||
|
||||
$result = db_query("SELECT id, fg_color, bg_color, caption FROM ttrss_labels2 WHERE owner_uid = " . $owner_uid);
|
||||
$result = db_query("SELECT id, fg_color, bg_color, caption FROM ttrss_labels2 WHERE owner_uid = '$owner_uid' ORDER BY caption");
|
||||
|
||||
while ($line = db_fetch_assoc($result)) {
|
||||
array_push($rv, $line);
|
||||
|
Loading…
Reference in New Issue
Block a user