Bugzilla – Attachment 53043 Details for
Bug 15128
Add ability to limit the number of open purchase suggestions a patron can make
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 15128 - (QA Followup) Don't get patrons suggestions if limit not set
Bug-15128---QA-Followup-Dont-get-patrons-suggestio.patch (text/plain), 905 bytes, created by
Jonathan Druart
on 2016-07-01 16:04:15 UTC
(
hide
)
Description:
Bug 15128 - (QA Followup) Don't get patrons suggestions if limit not set
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2016-07-01 16:04:15 UTC
Size:
905 bytes
patch
obsolete
>From 5ecf3d45d0d7dfc3d1169babd572cccfa9a38ba8 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Fri, 1 Jul 2016 11:39:00 -0400 >Subject: [PATCH] Bug 15128 - (QA Followup) Don't get patrons suggestions if > limit not set > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > opac/opac-suggestions.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/opac/opac-suggestions.pl b/opac/opac-suggestions.pl >index 4691d0e..52c0775 100755 >--- a/opac/opac-suggestions.pl >+++ b/opac/opac-suggestions.pl >@@ -113,7 +113,7 @@ if ( $op eq 'else' ) { > } > > my $patrons_pending_suggestions_count = 0; >-if ( $borrowernumber ) { >+if ( $borrowernumber && C4::Context->preference("MaxOpenSuggestions") ne '' ) { > $patrons_pending_suggestions_count = scalar @{ SearchSuggestion( { suggestedby => $borrowernumber, STATUS => 'ASKED' } ) } ; > } > >-- >2.8.1
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 15128
:
52452
|
52502
|
52596
|
52610
|
52611
|
52623
|
52624
|
52625
|
52626
|
52715
|
52716
|
52717
|
52718
|
52719
|
52720
|
52721
|
52722
|
52997
|
53033
|
53034
|
53037
|
53038
|
53039
|
53040
|
53041
|
53042
| 53043 |
53044
|
53045