From 7b0567a3ab0bbf3788deeeff41f1cd85796b3fab Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 10 Aug 2022 10:28:32 +0200 Subject: [PATCH] Bug 30718: Fix serial claims filters https://bugs.koha-community.org/show_bug.cgi?id=30718 Signed-off-by: Victor Grousset/tuxayo Signed-off-by: Marcel de Rooy Signed-off-by: Tomas Cohen Arazi --- koha-tmpl/intranet-tmpl/prog/en/modules/serials/claims.tt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/claims.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/claims.tt index 26dea96eb9..e591164a51 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/claims.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/claims.tt @@ -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)) { -- 2.39.5