Поправлено отображение количества найденных значений

This commit is contained in:
Book Pauk
2022-12-04 18:39:45 +07:00
parent 17e42d7088
commit c2e1d062e8
5 changed files with 27 additions and 4 deletions

View File

@@ -196,7 +196,7 @@ class BasePage {
}
if (!query.others && others.length)
result.unshift({id: 'other', title: otherTitle, q: '___others'});
result.unshift({id: 'other', title: otherTitle, q: '___others', count: others.length});
return (!query.others ? result : others);
}