Bugzilla – Attachment 95113 Details for
Bug 14973
Add an alert during purchase suggestion submissions to warn the user when an existing biblio appears to satisfy the request
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.13 KB, created by
Jonathan Druart
on 2019-11-06 16:24:03 UTC
(
hide
)
Description:
Bug 14973: Remove double declaration of suggestions_loop
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2019-11-06 16:24:03 UTC
Size:
1.13 KB
patch
obsolete
>From 0e9d56eb93e4a0ad9c2a8090c317b1111053d535 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 > >--- > 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 b5765f3ab2..91eaebe90b 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.11.0
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 14973
:
43193
|
44091
|
44319
|
44320
|
44334
|
44335
|
60877
|
60913
|
93141
|
93142
|
94297
|
94298
|
94301
|
94302
|
94303
|
94304
|
95113
|
95114
|
95517
|
96255
|
96256
|
96257
|
96258
|
96259
|
96260
|
96261
|
96325
|
96326
|
96327
|
96328
|
96329
|
96330
|
96331