From 28e3300931af37c8930f43d6219715ad2479dad8 Mon Sep 17 00:00:00 2001 From: Aleisha Amohia Date: Fri, 20 Oct 2023 01:02:30 +0000 Subject: [PATCH] Bug 35112: Fix return claims table showing on other patron tabs This patch fixes some unintentional changes introduced by Bug 25023. To test: 1. Set a LOST authorised value in the ClaimReturnedLostValue to enable return claims. 2. Check out an item 3. Submit a return claim for the checkout 4. Refresh the patron page 5. Notice the return claims table is showing strangely when viewing the other patron tabs i.e. Checkouts, Holds, Restrictions. 6. Apply the patch and refresh the page 7. Confirm the return claims table only shows when viewing the Claims tab, as expected. Sponsored-by: Pymble Ladies' College Signed-off-by: Kelly Signed-off-by: Katrin Fischer --- .../prog/en/includes/patron-return-claims.inc | 52 ++++++++++--------- 1 file changed, 27 insertions(+), 25 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-return-claims.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/patron-return-claims.inc index c0b40e6806..ec2771ab94 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-return-claims.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/patron-return-claims.inc @@ -1,25 +1,27 @@ -

- [% IF ( patron.return_claims.resolved.count > 0 || patron.return_claims.unresolved.count > 0 ) %] - Show all [% patron.return_claims.count | html %] claim(s) - Show [% patron.return_claims.unresolved.count | html %] unresolved claims - [% ELSE %] - - - [% END %] -

- - - - - - - - - - - - - - - -
Claim IDResolved?TitleNotesCreated onCreated onUpdated onUpdated onResolution 
+
+

+ [% IF ( patron.return_claims.resolved.count > 0 || patron.return_claims.unresolved.count > 0 ) %] + Show all [% patron.return_claims.count | html %] claim(s) + Show [% patron.return_claims.unresolved.count | html %] unresolved claims + [% ELSE %] + + + [% END %] +

+ + + + + + + + + + + + + + + +
Claim IDResolved?TitleNotesCreated onCreated onUpdated onUpdated onResolution 
+
-- 2.30.2