Year input in simple search

This commit is contained in:
Krzysztof Płaczek
2025-08-04 12:17:18 +02:00
parent 40f2b60962
commit 59c76c8414
2 changed files with 17 additions and 6 deletions

View File

@@ -21,10 +21,10 @@ Alpine.data('bookmeterList', function () {
advancedSearch: this.$persist(0).as('advanced-search'),
async init() {
this.$watch('nameFilter', () => this.updateFilter());
// this.$watch('username', () => this.updateFilter());
// this.$watch('title', () => this.updateFilter());
// this.$watch('author', () => this.updateFilter());
// this.$watch('publisher', () => this.updateFilter());
this.$watch('username', () => this.updateFilter());
this.$watch('title', () => this.updateFilter());
this.$watch('author', () => this.updateFilter());
this.$watch('publisher', () => this.updateFilter());
this.$watch('year', () => this.updateFilter());
let qp = new URLSearchParams(window.location.search);