mirror of
https://github.com/friendica/friendica
synced 2025-04-27 06:30:12 +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
|
@ -150,7 +150,7 @@ class Item extends BaseObject {
|
|||
$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