Bugzilla – Attachment 95200 Details for
Bug 14963
Add the ability to suggest purchase from existing titles
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 14973: Remove double declaration of suggestions_loop
Bug-14973-Remove-double-declaration-of-suggestions.patch (text/plain), 1.17 KB, created by
Séverine Queune
on 2019-11-08 11:10:51 UTC
(
hide
)
Description:
Bug 14973: Remove double declaration of suggestions_loop
Filename:
MIME Type:
Creator:
Séverine Queune
Created:
2019-11-08 11:10:51 UTC
Size:
1.17 KB
patch
obsolete
>From 975c81af49da8f8db5029f07de59e2dc2622bd06 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Wed, 6 Nov 2019 17:23:33 +0100 >Subject: [PATCH] Bug 14973: Remove double declaration of suggestions_loop > >https://bugs.koha-community.org/show_bug.cgi?id=14963 >--- > 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 b5765f3..91eaebe 100755 >--- a/opac/opac-suggestions.pl >+++ b/opac/opac-suggestions.pl >@@ -131,8 +131,8 @@ if ( $borrowernumber && C4::Context->preference("MaxOpenSuggestions") ne '' ) { > $patrons_pending_suggestions_count = scalar @{ SearchSuggestion( { suggestedby => $borrowernumber, STATUS => 'ASKED' } ) } ; > } > >-my $suggestions_loop = &SearchSuggestion($suggestion); > if ( $op eq "add_confirm" ) { >+ my $suggestions_loop = &SearchSuggestion($suggestion); > if ( C4::Context->preference("MaxOpenSuggestions") ne '' && $patrons_pending_suggestions_count >= C4::Context->preference("MaxOpenSuggestions") ) #only check limit for signed in borrowers > { > push @messages, { type => 'error', code => 'too_many' }; >-- >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 14963
:
95170
|
95173
|
95174
|
95175
|
95195
|
95196
|
95197
|
95198
|
95200
|
95201
|
95202
|
95203
|
95204
|
95205
|
95206
|
95207
|
96322
|
96323
|
96324