Bug 30718: Fix serial claims filters

https://bugs.koha-community.org/show_bug.cgi?id=30718
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Jonathan Druart 2022-08-10 10:28:32 +02:00 committed by Tomas Cohen Arazi
parent 5f471308ad
commit 7b0567a3ab
Signed by: tomascohen
GPG key ID: 0A272EA1B2F3C15F

View file

@ -319,8 +319,8 @@
// Filter by date
function filterByDate() {
var beginDate = Date_from_syspref($("#from").val()).getTime();
var endDate = Date_from_syspref($("#to").val()).getTime();
var beginDate = new Date($("#from").val()).getTime();
var endDate = new Date($("#to").val()).getTime();
// Checks if the beginning date is valid
if (!parseInt(beginDate)) {