[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 19:31:12 CET 2023


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

Laura Escamilla <Laura.escamilla at bywatersolutions.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |Laura.escamilla at bywatersolu
                   |                            |tions.com

--- Comment #21 from Laura Escamilla <Laura.escamilla at bywatersolutions.com> ---
I received the following error: "NameError: global name 'host' is not defined"


(In reply to Matt Blenkinsop from comment #20)
> Created attachment 146693 [details] [review]
> 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