Fixes #1369 correct number of photos on filtered tags

This commit is contained in:
Matthieu Leproux
2021-05-12 10:29:00 +02:00
parent 308f7109b4
commit 4156702b51

View File

@@ -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);