From 59c76c8414f4311817dd595fbbc6db59fda2da6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krzysztof=20P=C5=82aczek?= Date: Mon, 4 Aug 2025 12:17:18 +0200 Subject: [PATCH] Year input in simple search --- index.html | 15 +++++++++++++-- src/main.js | 8 ++++---- 2 files changed, 17 insertions(+), 6 deletions(-) diff --git a/index.html b/index.html index 0dc2b80..f18c109 100644 --- a/index.html +++ b/index.html @@ -17,17 +17,28 @@
-
+
+ + + +
zaawansowane filtrowanie
diff --git a/src/main.js b/src/main.js index 6a0b38e..5a9054d 100644 --- a/src/main.js +++ b/src/main.js @@ -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);