Bugzilla – Attachment 127130 Details for
Bug 28238
Add itemcallnumber to ILS-DI GetAvailability output
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 29374: Don't crash if search engine returns a deleted record
Bug-29374-Dont-crash-if-search-engine-returns-a-de.patch (text/plain), 1017 bytes, created by
Katrin Fischer
on 2021-10-31 12:07:55 UTC
(
hide
)
Description:
Bug 29374: Don't crash if search engine returns a deleted record
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2021-10-31 12:07:55 UTC
Size:
1017 bytes
patch
obsolete
>From 9cd20de159f7eb29059828b1d6c17f4cbf07e850 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Fri, 29 Oct 2021 12:27:25 +0200 >Subject: [PATCH] Bug 29374: Don't crash if search engine returns a deleted > record > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> > >https://bugs.koha-community.org/show_bug.cgi?id=28238 >--- > C4/Search.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/C4/Search.pm b/C4/Search.pm >index f36e3364b3..454f6d3848 100644 >--- a/C4/Search.pm >+++ b/C4/Search.pm >@@ -1996,7 +1996,7 @@ sub searchResults { > $can_place_holds = 0; > } > } else { >- $can_place_holds = $biblio_object->items->filter_by_for_hold()->count; >+ $can_place_holds = $biblio_object->items->filter_by_for_hold()->count if $biblio_object; > } > $oldbiblio->{norequests} = 1 unless $can_place_holds; > $oldbiblio->{items_count} = $items_count; >-- >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 28238
:
120242
|
121399
|
126909
|
126947
|
126948
|
127130
|
127131
|
127132
|
127478
|
129489
|
129490
|
129491