(cp 4156702) Fixes #1369 correct number of photos on filtered tags

This commit is contained in:
plegall
2021-05-13 13:52:01 +02:00
parent 0aec78b7db
commit 6fddfd2179

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