[Koha-bugs] [Bug 32373] Show date of restriction on patron screen

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Feb 15 16:50:31 CET 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32373

Matt Blenkinsop <matt.blenkinsop at ptfs-europe.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #144943|0                           |1
        is obsolete|                            |

--- Comment #20 from Matt Blenkinsop <matt.blenkinsop at ptfs-europe.com> ---
Created attachment 146693
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=146693&action=edit
Bug 32373: Show patron restriction date

This is a rebased submission following bug 31095 which removed the use of
GetDebarments. This patch now uses $patron->restrictions to find the date and
pass it to the template

Test plan:
1) Create a restriction on a patron and navigate to that patron in Checkouts or
the patron details page
2) There should be a message with details about the restriction but the
creation date of the restriction won't be included in the message
3) Apply patch
4) The message should now say "Restricted since DATE" as in the screenshot
attached.
5) Change the 'dateformat' syspref and refresh, the date should change to
reflect the syspref

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list