mirror of
https://github.com/moparisthebest/wallabag
synced 2024-11-27 11:22:17 -05:00
fix for #738
This commit is contained in:
parent
a13ff95777
commit
25052a76ca
@ -487,7 +487,7 @@ class Database {
|
|||||||
$sql =
|
$sql =
|
||||||
"SELECT entries.* FROM entries
|
"SELECT entries.* FROM entries
|
||||||
LEFT JOIN tags_entries ON tags_entries.entry_id=entries.id
|
LEFT JOIN tags_entries ON tags_entries.entry_id=entries.id
|
||||||
WHERE tags_entries.tag_id = ? AND entries.user_id=?";
|
WHERE tags_entries.tag_id = ? AND entries.user_id=? ORDER by entries.id DESC";
|
||||||
$query = $this->executeQuery($sql, array($tag_id, $user_id));
|
$query = $this->executeQuery($sql, array($tag_id, $user_id));
|
||||||
$entries = $query->fetchAll();
|
$entries = $query->fetchAll();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user