diff options
author | Andreas Gohr <gohr@cosmocode.de> | 2011-02-10 18:51:40 +0100 |
---|---|---|
committer | Andreas Gohr <gohr@cosmocode.de> | 2011-02-10 18:51:40 +0100 |
commit | 52784dd85122f75ca221c53d4fd9dcc98bfd2450 (patch) | |
tree | 550b0bbbd69c94ed33ee5ee945f09b5954f48534 | |
parent | 7e8e923f9382c30776c2983fc4ae90eeadf0eb64 (diff) | |
download | rpg-52784dd85122f75ca221c53d4fd9dcc98bfd2450.tar.gz rpg-52784dd85122f75ca221c53d4fd9dcc98bfd2450.tar.bz2 |
do not (re)render metadata in backlinks
A page could have possibly hundreds of backlinks, when the cache is
outdated they should not be rererendered at once
-rw-r--r-- | inc/fulltext.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/fulltext.php b/inc/fulltext.php index 0f2414213..bb2647165 100644 --- a/inc/fulltext.php +++ b/inc/fulltext.php @@ -142,7 +142,7 @@ function ft_backlinks($id){ // check metadata for matching links foreach($docs as $match){ // metadata relation reference links are already resolved - $links = p_get_metadata($match,'relation references'); + $links = p_get_metadata($match,'relation references',false); if (isset($links[$id])) $result[] = $match; } |