diff options
author | tcitworld <tcit@tcit.fr> | 2014-06-30 23:24:46 +0200 |
---|---|---|
committer | tcitworld <tcit@tcit.fr> | 2014-06-30 23:24:46 +0200 |
commit | 25052a76ca4524916f1f7fde40f977e16643680e (patch) | |
tree | 8cc822ec12c85d34bba8fcbd89fe59323ca2120b /inc/poche/Database.class.php | |
parent | a13ff95777bfca0b677ec17faa5aa4ffafc9ad1c (diff) | |
download | wallabag-25052a76ca4524916f1f7fde40f977e16643680e.tar.gz wallabag-25052a76ca4524916f1f7fde40f977e16643680e.tar.zst wallabag-25052a76ca4524916f1f7fde40f977e16643680e.zip |
fix for #738
Diffstat (limited to 'inc/poche/Database.class.php')
-rwxr-xr-x | inc/poche/Database.class.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/poche/Database.class.php b/inc/poche/Database.class.php index 9e901974..dddb2512 100755 --- a/inc/poche/Database.class.php +++ b/inc/poche/Database.class.php | |||
@@ -487,7 +487,7 @@ class Database { | |||
487 | $sql = | 487 | $sql = |
488 | "SELECT entries.* FROM entries | 488 | "SELECT entries.* FROM entries |
489 | LEFT JOIN tags_entries ON tags_entries.entry_id=entries.id | 489 | LEFT JOIN tags_entries ON tags_entries.entry_id=entries.id |
490 | WHERE tags_entries.tag_id = ? AND entries.user_id=?"; | 490 | WHERE tags_entries.tag_id = ? AND entries.user_id=? ORDER by entries.id DESC"; |
491 | $query = $this->executeQuery($sql, array($tag_id, $user_id)); | 491 | $query = $this->executeQuery($sql, array($tag_id, $user_id)); |
492 | $entries = $query->fetchAll(); | 492 | $entries = $query->fetchAll(); |
493 | 493 | ||