From df51813b1354598ea43d720b2306da945f92f6f0 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 --- 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 2b2c4185218..598f3ba58c3 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.30.2