mirror of
https://github.com/friendica/friendica
synced 2025-04-25 17:50:11 +00:00
Preloading of items in the cache when receiving them.
This commit is contained in:
parent
452ff19d73
commit
82c00660e0
6 changed files with 38 additions and 10 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue