mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-07 17:23:04 +02: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) {
|
} else if (dataToDisplay.length > tagBoxes.length) {
|
||||||
for (let j = boxToRecycle; j < dataToDisplay.length; j++) {
|
for (let j = boxToRecycle; j < dataToDisplay.length; j++) {
|
||||||
let tag = dataToDisplay[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);
|
newTag.css('opacity', 0);
|
||||||
$('.tag-container').append(newTag);
|
$('.tag-container').append(newTag);
|
||||||
setupTagbox(newTag);
|
setupTagbox(newTag);
|
||||||
|
|||||||
Reference in New Issue
Block a user