Bug 35112: Fix return claims table showing on other patron tabs
authorAleisha Amohia <aleisha@catalyst.net.nz>
Fri, 20 Oct 2023 01:02:30 +0000 (01:02 +0000)
committerMatt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Mon, 13 Nov 2023 14:28:50 +0000 (14:28 +0000)
commit1392fbe90f262466f56144d48903735364f46850
tree290f720a3eaab6be0cb9cd7a2f4210f4c1c6af49
parentdc24f439cad47b85704289ca1168a9c20ba97733
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 <kelly@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
koha-tmpl/intranet-tmpl/prog/en/includes/patron-return-claims.inc