mirror of
https://github.com/wallabag/wallabag.git
synced 2025-08-26 18:21:02 +00:00
fix for #738
This commit is contained in:
parent
a13ff95777
commit
25052a76ca
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue