Bugzilla – Attachment 131096 Details for
Bug 30147
OpacBrowseResults causing error on detail page
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 30147: Fix modules usage in opac-detail.pl
Bug-30147-Fix-modules-usage-in-opac-detailpl.patch (text/plain), 1.19 KB, created by
Fridolin Somers
on 2022-02-25 00:32:20 UTC
(
hide
)
Description:
Bug 30147: Fix modules usage in opac-detail.pl
Filename:
MIME Type:
Creator:
Fridolin Somers
Created:
2022-02-25 00:32:20 UTC
Size:
1.19 KB
patch
obsolete
>From 6f5ea409280bd2ea90aaf7ca6bacc09dd0a49f56 Mon Sep 17 00:00:00 2001 >From: Fridolin Somers <fridolin.somers@biblibre.com> >Date: Thu, 24 Feb 2022 14:24:18 -1000 >Subject: [PATCH] Bug 30147: Fix modules usage in opac-detail.pl > >On the ktd sample database when trying to go to the detail page from the result list: >Undefined subroutine &CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2ddetail_2epl::searchResults called at /kohadevbox/koha/opac/opac-detail.pl line 260 >Turning off OpacBrowseResults makes the error disappear. > >In opac-detail.pl, use C4::Search is missing searchResults and getRecords >--- > opac/opac-detail.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/opac/opac-detail.pl b/opac/opac-detail.pl >index 1c705db734..a2022a0148 100755 >--- a/opac/opac-detail.pl >+++ b/opac/opac-detail.pl >@@ -32,7 +32,7 @@ use C4::Koha qw( > GetNormalizedOCLCNumber > GetNormalizedUPC > ); >-use C4::Search qw( new_record_from_zebra ); >+use C4::Search qw( new_record_from_zebra searchResults getRecords ); > use C4::Serials qw( CountSubscriptionFromBiblionumber SearchSubscriptions GetLatestSerials ); > use C4::Output qw( parametrized_url output_html_with_http_headers ); > use C4::Biblio qw( >-- >2.35.1
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 30147
:
131096
|
131138
|
131186