'list of tags applied to this image' should not be limited like 'related tags' is
This commit is contained in:
parent
3e504f8815
commit
467eed75d1
@ -265,9 +265,8 @@ class TagList implements Extension {
|
|||||||
WHERE tags.id = image_tags.tag_id
|
WHERE tags.id = image_tags.tag_id
|
||||||
AND image_tags.image_id = :image_id
|
AND image_tags.image_id = :image_id
|
||||||
ORDER BY calc_count DESC
|
ORDER BY calc_count DESC
|
||||||
LIMIT :tag_list_length
|
|
||||||
";
|
";
|
||||||
$args = array("image_id"=>$image->id, "tag_list_length"=>$config->get_int('tag_list_length'));
|
$args = array("image_id"=>$image->id);
|
||||||
|
|
||||||
$tags = $database->get_all($query, $args);
|
$tags = $database->get_all($query, $args);
|
||||||
if(count($tags) > 0) {
|
if(count($tags) > 0) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user