Bugzilla – Attachment 175091 Details for
Bug 38606
Suggestion title search returns 500 error
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 38606: Fix suggestion title search
Bug-38606-Fix-suggestion-title-search.patch (text/plain), 1.17 KB, created by
Matt Blenkinsop
on 2024-12-03 17:27:29 UTC
(
hide
)
Description:
Bug 38606: Fix suggestion title search
Filename:
MIME Type:
Creator:
Matt Blenkinsop
Created:
2024-12-03 17:27:29 UTC
Size:
1.17 KB
patch
obsolete
>From e056872ea719ba33ee1f095d7c4da910baa9ecce Mon Sep 17 00:00:00 2001 >From: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com> >Date: Tue, 3 Dec 2024 17:25:29 +0000 >Subject: [PATCH] Bug 38606: Fix suggestion title search > >Test plan: >1) From a basket, click Add to basket and then From a suggestion >2) In the search bar at the top, type something into the Title field and hit enter >3) There will be 500 error >4) Apply patch and restart_all >5) Repeat steps 1-2, no error >--- > acqui/newordersuggestion.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/acqui/newordersuggestion.pl b/acqui/newordersuggestion.pl >index 9d35ec48def..d734d2dd8c2 100755 >--- a/acqui/newordersuggestion.pl >+++ b/acqui/newordersuggestion.pl >@@ -131,7 +131,7 @@ if ( $op eq 'connectDuplicate' ) { > my $suggestions = [ Koha::Suggestions->search_limited( > { > ( $author ? ( author => $author ) : () ), >- ( $title ? ( title => $title ) : () ), >+ ( $title ? ( 'me.title' => $title ) : () ), > ( $publishercode ? ( publishercode => $publishercode ) : () ), > STATUS => 'ACCEPTED' > }, >-- >2.39.3 (Apple Git-146)
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 38606
: 175091