Fix filtering by username bug

This commit is contained in:
Krzysztof Płaczek
2026-01-03 11:04:47 +01:00
parent 081812d678
commit aa6a313262

View File

@@ -220,7 +220,7 @@ Alpine.data('bookmeterList', function () {
.filter(i => {
if (this.advancedSearch) {
return (
(!this.username || i._username.includes(this.username)) &&
(!this.username || i._username.includes(username)) &&
(!this.title || i._title.includes(title)) &&
(!this.author || i._author.includes(author)) &&
(!this.publisher || i._publisher.includes(publisher))