]> git.mxchange.org Git - friendica.git/blobdiff - include/conversation.php
Preloading of items in the cache when receiving them.
[friendica.git] / include / conversation.php
index 7665342739f1341f6d564d3d235d9a3ed3f77e8e..7c4e606a72e4b50b0f8b9f7b2854a68ae71ba833 100644 (file)
@@ -524,7 +524,7 @@ function conversation(&$a, $items, $mode, $update, $preview = false) {
                                $hashtags = array();
                                $mentions = array();
 
-                               $taglist = q("SELECT `type`, `term`, `url` FROM `term` WHERE `otype` = %d AND `oid` = %d AND `type` IN (%d, %d)",
+                               $taglist = q("SELECT `type`, `term`, `url` FROM `term` WHERE `otype` = %d AND `oid` = %d AND `type` IN (%d, %d) ORDER BY `tid`",
                                                intval(TERM_OBJ_POST), intval($item['id']), intval(TERM_HASHTAG), intval(TERM_MENTION));
 
                                foreach($taglist as $tag) {