Bug 42915: (follow-up) Fix holds table display on patron record holds tab
To test: 1. Have a patron with multiple holds 2. Go to the patron record's hold tab 3. Confirm the table loads and no errors are logged to the console Sponsored-by: CLAMS Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk> Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
parent
f3f6ba601a
commit
01362891d2
|
|
@ -1,5 +1,6 @@
|
|||
<!-- patron-detail-tabs.inc -->
|
||||
[% USE raw %]
|
||||
[% USE To %]
|
||||
[% PROCESS 'html_helpers.inc' %]
|
||||
[% PROCESS 'modals/holds_table_modals.inc' %]
|
||||
[% WRAPPER tabs id= "finesholdsissues" %]
|
||||
|
|
@ -265,3 +266,10 @@
|
|||
[% END # /WRAPPER tab_panels %]
|
||||
[% END # /WRAPPER tabs %]
|
||||
<!-- /patron-detail-tabs.inc -->
|
||||
<script nonce="[% Koha.CSPNonce | $raw %]">
|
||||
let all_libraries = [% To.json(Branches.all) | $raw %].map(e => {
|
||||
e['_id'] = e.branchcode;
|
||||
e['_str'] = e.branchname;
|
||||
return e;
|
||||
});
|
||||
</script>
|
||||
|
|
|
|||
Loading…
Reference in New Issue