Bugzilla – Attachment 144944 Details for
Bug 32373
Show date of restriction on patron screen
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 32373: (follow-up) Show patron restriction date
Bug-32373-follow-up-Show-patron-restriction-date.patch (text/plain), 1.33 KB, created by
Lucas Gass (lukeg)
on 2023-01-03 15:32:17 UTC
(
hide
)
Description:
Bug 32373: (follow-up) Show patron restriction date
Filename:
MIME Type:
Creator:
Lucas Gass (lukeg)
Created:
2023-01-03 15:32:17 UTC
Size:
1.33 KB
patch
obsolete
>From 1b917cdd1c052fcf1bf41cbdbab09a6781f4d722 Mon Sep 17 00:00:00 2001 >From: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com> >Date: Tue, 3 Jan 2023 15:25:16 +0000 >Subject: [PATCH] Bug 32373: (follow-up) Show patron restriction date > >Unnecessary import of format_sqldatetime has now been removed > >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 > >Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> >--- > circ/circulation.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/circ/circulation.pl b/circ/circulation.pl >index 894b2a184d2..58f8526c587 100755 >--- a/circ/circulation.pl >+++ b/circ/circulation.pl >@@ -45,7 +45,7 @@ use Koha::AuthorisedValues; > use Koha::CsvProfiles; > use Koha::Patrons; > use Koha::Patron::Debarments qw( GetDebarments ); >-use Koha::DateUtils qw( dt_from_string format_sqldatetime ); >+use Koha::DateUtils qw( dt_from_string ); > use Koha::Patron::Restriction::Types; > use Koha::Plugins; > use Koha::Database; >-- >2.30.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 32373
:
144337
|
144796
|
144797
|
144807
|
144813
|
144815
|
144828
|
144931
|
144942
|
144943
|
144944
|
146693
|
147230
|
147763
|
147764