diff --git a/services/bookmark2tagservice.php b/services/bookmark2tagservice.php index 63f3d57..d09aee2 100644 --- a/services/bookmark2tagservice.php +++ b/services/bookmark2tagservice.php @@ -208,7 +208,7 @@ class Bookmark2TagService { return false; } - $query = 'SELECT tag FROM '. $this->getTableName() .' WHERE bId = '. intval($bookmarkid) .' AND LEFT(tag, 7) <> "system:" ORDER BY tag'; + $query = 'SELECT tag FROM '. $this->getTableName() .' WHERE bId = '. intval($bookmarkid) .' AND LEFT(tag, 7) <> "system:" ORDER BY id ASC'; if (!($dbresult =& $this->db->sql_query($query))) { message_die(GENERAL_ERROR, 'Could not get tags', '', __LINE__, __FILE__, $query, $this->db);