Bug 33553: Remove unecessary GetCategories calls in templates
This patch removes unnecessary references to AuthorisedValues.GetCategories: SET AuthorisedValuesCategories = AuthorisedValues.GetCategories The AuthorisedValuesCategories variable is not used. To test, apply the patch and go to Tools -> Patron clubs. - If necessary, create a club template with "Allow public enrollment" enabled. - Create a new club. The club creation process should work correctly. - Open a patron account for checkout and confirm that you can enroll the patron in the new club via the "Clubs" tab. - Log in to the OPAC and confirm that you can successfully enroll yourself in the new club via the "Clubs" tab on your patron summary page. Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
50f387876e
commit
878b0d0e0f
3 changed files with 0 additions and 3 deletions
|
@ -3,7 +3,6 @@
|
|||
[% USE KohaDates %]
|
||||
[% USE Branches %]
|
||||
[% USE AuthorisedValues %]
|
||||
[% SET AuthorisedValuesCategories = AuthorisedValues.GetCategories %]
|
||||
[% SET footerjs = 1 %]
|
||||
[% INCLUDE 'doc-head-open.inc' %]
|
||||
<title>
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
[% USE AuthorisedValues %]
|
||||
[% SET AuthorisedValuesCategories = AuthorisedValues.GetCategories %]
|
||||
|
||||
<h1>
|
||||
Enroll in <em>[% club.name | html %]</em>
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
[% USE AuthorisedValues %]
|
||||
[% SET AuthorisedValuesCategories = AuthorisedValues.GetCategories %]
|
||||
|
||||
<h2>
|
||||
Enroll in <em>[% club.name | html %]</em>
|
||||
|
|
Loading…
Reference in a new issue