]> git.koha-community.org Git - koha.git/commit
Bug 33553: Remove unecessary GetCategories calls in templates
authorOwen Leonard <oleonard@myacpl.org>
Mon, 15 May 2023 11:43:04 +0000 (11:43 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 16 May 2023 18:17:35 +0000 (15:17 -0300)
commit878b0d0e0f08939e8e5a77e07c838bc6cd8c1c6d
tree54f94e895f1d8e73dbb27dc5e12f8fd62289cd48
parent50f387876e56f84a85e498cf7d78c8c423d87895
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>
koha-tmpl/intranet-tmpl/prog/en/modules/clubs/clubs-add-modify.tt
koha-tmpl/intranet-tmpl/prog/en/modules/clubs/patron-enroll.tt
koha-tmpl/opac-tmpl/bootstrap/en/modules/clubs/enroll.tt