Bugzilla – Attachment 53034 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), 832 bytes, created by
Nick Clemens
on 2016-07-01 15:41:18 UTC
(
hide
)
Description:
Bug 15128 - (QA Followup) Don't get patrons suggestions if limit not set
Filename:
MIME Type:
Creator:
Nick Clemens
Created:
2016-07-01 15:41:18 UTC
Size:
832 bytes
patch
obsolete
>From 08a3595d43efab1a78729426fc5e637e89b41d41 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 > >--- > 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.1.4
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