Bugzilla – Attachment 171301 Details for
Bug 37866
Unable to resolve claim from patron details page
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 37866: Unable to resolve claim from patron details page if syspref ClaimReturnedLostValue is disabled
0001-Bug-37866-Unable-to-resolve-claim-from-patron-detail.patch (text/plain), 2.02 KB, created by
Emmi Takkinen
on 2024-09-11 11:16:31 UTC
(
hide
)
Description:
Bug 37866: Unable to resolve claim from patron details page if syspref ClaimReturnedLostValue is disabled
Filename:
MIME Type:
Creator:
Emmi Takkinen
Created:
2024-09-11 11:16:31 UTC
Size:
2.02 KB
patch
obsolete
>From 62ac7fcdc311e59c45d98b2b77539a2729dde8cf Mon Sep 17 00:00:00 2001 >From: Emmi Takkinen <emmi.takkinen@koha-suomi.fi> >Date: Wed, 11 Sep 2024 14:05:33 +0300 >Subject: [PATCH] Bug 37866: Unable to resolve claim from patron details page > if syspref ClaimReturnedLostValue is disabled > >If ones tries to resolve a claim from patrons detail page >and syspref ClaimReturnedLostValue is disabled, >"Resolve return claim" pop up isn't displayed. Page just >jumps to the top of the page. However this works from the >patron check out page. > >This happens because in moremember.tt line 765 we only >check if ClaimReturnedLostValue is enabled. In >circulation.tt line 1023 we check if either >ClaimReturnedLostValue or BundleLostValue syspref is enabled. > >To test: >1. Disable syspref "ClaimReturnedLostValue" (set used value empty). >2. Find patron with claims (or create them). >3. Navigate to patrons detail page and from there open "Claims" tab. >4. Press "Resolve" button. >=> Pop up isn't displayed and page jumps to the top of the page. >5. Repeat steps on patrons check out page. >=> Pop up is displayed. >6. Apply this patch. >=> Pop up should now be displayed both in patrons details and check >out pages. > >Sponsored-by: Koha-Suomi Oy >--- > koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt >index 99d09c2707..e876dbddd6 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt >@@ -762,7 +762,7 @@ > </script> > [% Asset.js("js/pages/circulation.js") | $raw %] > [% Asset.js("js/checkouts.js") | $raw %] >- [% IF Koha.Preference('ClaimReturnedLostValue') %] >+ [% IF Koha.Preference('ClaimReturnedLostValue') || Koha.Preference('BundleLostValue') %] > [% Asset.js("js/resolve_claim_modal.js") | $raw %] > [% END %] > [% Asset.js("js/holds.js") | $raw %] >-- >2.34.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 37866
:
171301
|
171352
|
174438
|
174439