mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
Fixes #1369 correct number of photos on filtered tags
This commit is contained in:
@@ -963,7 +963,7 @@ function updatePage() {
|
||||
} else if (dataToDisplay.length > tagBoxes.length) {
|
||||
for (let j = boxToRecycle; j < dataToDisplay.length; j++) {
|
||||
let tag = dataToDisplay[j];
|
||||
newTag = createTagBox(tag.id, tag.name, tag.url_name);
|
||||
newTag = createTagBox(tag.id, tag.name, tag.url_name, tag.counter);
|
||||
newTag.css('opacity', 0);
|
||||
$('.tag-container').append(newTag);
|
||||
setupTagbox(newTag);
|
||||
|
||||
Reference in New Issue
Block a user