]> git.koha-community.org Git - koha.git/commit
Bug 31095: Remove GetDebarments from members/moremember.pl
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 24 Aug 2022 15:13:26 +0000 (16:13 +0100)
committerMatt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Wed, 1 Feb 2023 15:35:11 +0000 (15:35 +0000)
commita67c87336437e281d99d3c1d466807431ea4d57b
tree54d3fc67ab6c8048f950532d8a1000c6a0d6ab77
parent58cc83f27261621373289d086dd8c7d1bf21b384
Bug 31095: Remove GetDebarments from members/moremember.pl

This patch removes the use of GetDebarments from members/moremember.pl
and replaces template references with patrons.restrictions and the new
includes introduced in the prior patch

Test plan
1. Confirm that the 'Restrictions (x)' tab still appears on the patron
   details page.
2. Confirm that the 'Restrictions (x)' tab count is correct
3. Confirm that the 'Restrictions (x)' tab table functions
4. Confirm that the 'Restrictions (x)' tab 'Add manual restriction' form
   works as expected

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit efd9ed271c703ef104b9ff8da1a06a98b9f4d0bb)
Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt
members/moremember.pl