Fix filtering by username bug
This commit is contained in:
@@ -220,7 +220,7 @@ Alpine.data('bookmeterList', function () {
|
|||||||
.filter(i => {
|
.filter(i => {
|
||||||
if (this.advancedSearch) {
|
if (this.advancedSearch) {
|
||||||
return (
|
return (
|
||||||
(!this.username || i._username.includes(this.username)) &&
|
(!this.username || i._username.includes(username)) &&
|
||||||
(!this.title || i._title.includes(title)) &&
|
(!this.title || i._title.includes(title)) &&
|
||||||
(!this.author || i._author.includes(author)) &&
|
(!this.author || i._author.includes(author)) &&
|
||||||
(!this.publisher || i._publisher.includes(publisher))
|
(!this.publisher || i._publisher.includes(publisher))
|
||||||
|
|||||||
Reference in New Issue
Block a user