From 9060282c3b47db28c2c5202c27ba7d277fdfc6c7 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 27 Apr 2023 06:49:03 +0200 Subject: [PATCH] Bug 33621: Fix claim return To test: 1. Set the CaimReturnedLostValue system preference to one of your LOST authorised values 2. Check out an item 3. In the checkouts table, claim return 4. Notice the processing icon keeps spinning 5. Apply the patch 6. Check in the item and resolve the return claim to clear it 7. Check out an item 8. In the checkouts table, claim return 9. Confirm the checkouts table reloads and the return is claimed as expected Signed-off-by: Aleisha Amohia Signed-off-by: Marcel de Rooy Signed-off-by: Tomas Cohen Arazi --- koha-tmpl/intranet-tmpl/prog/en/includes/modal-claims.inc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/modal-claims.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/modal-claims.inc index 2b2c418521..598f3ba58c 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/modal-claims.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/modal-claims.inc @@ -82,8 +82,7 @@ id = "#return_claim_spinner_" + data.item_id; - let created_on = new Date(data.created_on); - let formated_date = $datetime(created_on); + let formated_date = $datetime(data.created_on); let content = ""; if ( data.claim_id ) { -- 2.39.5