Bugzilla – Attachment 164180 Details for
Bug 36376
Display library limitations alert in patron's messages
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 36376: (QA follow-up) Tidy
Bug-36376-QA-follow-up-Tidy.patch (text/plain), 1.48 KB, created by
Nick Clemens (kidclamp)
on 2024-04-01 12:53:48 UTC
(
hide
)
Description:
Bug 36376: (QA follow-up) Tidy
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2024-04-01 12:53:48 UTC
Size:
1.48 KB
patch
obsolete
>From 6c207a2c2c74248752d0a12447eaf58677381f40 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Mon, 1 Apr 2024 12:53:01 +0000 >Subject: [PATCH] Bug 36376: (QA follow-up) Tidy > >--- > circ/circulation.pl | 4 +++- > members/moremember.pl | 3 ++- > 2 files changed, 5 insertions(+), 2 deletions(-) > >diff --git a/circ/circulation.pl b/circ/circulation.pl >index 33492304281..cb139f0f592 100755 >--- a/circ/circulation.pl >+++ b/circ/circulation.pl >@@ -307,7 +307,9 @@ if ($patron) { > $template->param( age_high => $patron->category->upperagelimit ); > } > >- unless ( Koha::Patron::Categories->search_with_library_limits( { 'me.categorycode' => $patron->categorycode } )->count ) { >+ unless ( >+ Koha::Patron::Categories->search_with_library_limits( { 'me.categorycode' => $patron->categorycode } )->count ) >+ { > $template->param( limited_category => 1 ); > } > } >diff --git a/members/moremember.pl b/members/moremember.pl >index 41f39d9639b..c10926cd36b 100755 >--- a/members/moremember.pl >+++ b/members/moremember.pl >@@ -133,7 +133,8 @@ if ( !$patron->is_valid_age ) { > $template->param( age_high => $patron->category->upperagelimit ); > } > >-unless ( Koha::Patron::Categories->search_with_library_limits( { 'me.categorycode' => $patron->categorycode } )->count ) { >+unless ( Koha::Patron::Categories->search_with_library_limits( { 'me.categorycode' => $patron->categorycode } )->count ) >+{ > $template->param( limited_category => 1 ); > } > >-- >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 36376
:
163618
|
163621
|
163634
|
164179
| 164180 |
164186