Bugzilla – Attachment 78311 Details for
Bug 21291
Article requests page doesn't show MARC, LabeledMARC and ISBD in sidebar
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 21291: request-article.pl doesn't show MARC, LabeledMARC and ISBD in sidebar
Bug-21291-request-articlepl-doesnt-show-MARC-Label.patch (text/plain), 1.51 KB, created by
Blou
on 2018-08-30 14:37:40 UTC
(
hide
)
Description:
Bug 21291: request-article.pl doesn't show MARC, LabeledMARC and ISBD in sidebar
Filename:
MIME Type:
Creator:
Blou
Created:
2018-08-30 14:37:40 UTC
Size:
1.51 KB
patch
obsolete
>From 1226574bcf9b6eed61b47fa9321231e587dac1d9 Mon Sep 17 00:00:00 2001 >From: Blou <philippe.blouin@inlibro.com> >Date: Thu, 30 Aug 2018 10:33:44 -0400 >Subject: [PATCH] Bug 21291: request-article.pl doesn't show MARC, LabeledMARC > and ISBD in sidebar > >When on a detailed record in the intranet, any click on the sidebar will lead you to another page with the same sidebar EXCEPT for "Article requests". > >When clicking on article requests, you get a new sidebar without >MARC >Labeled MARC >ISBD > >This fix adds the required C4::Biblio::enabled_staff_search_views that loads the required hash with the permissions. > >TEST >0) login with a user having all rights >1) go to any detailed notices, notice the sidebar on the left >2) click on MARC >3) notice the sidebar is the same in the new page >4) click on Request articles >5) notice the missing labels on the sidebar >6) apply patch, redo steps >--- > circ/request-article.pl | 2 ++ > 1 file changed, 2 insertions(+) > >diff --git a/circ/request-article.pl b/circ/request-article.pl >index 3d598ec..d325818 100755 >--- a/circ/request-article.pl >+++ b/circ/request-article.pl >@@ -22,6 +22,7 @@ use Modern::Perl; > use C4::Output; > use C4::Auth; > use C4::Utils::DataTables::Members; >+use C4::Search; > use Koha::Biblios; > use Koha::Patrons; > use Koha::ArticleRequests; >@@ -109,6 +110,7 @@ if ( !$patron && $patron_cardnumber ) { > $template->param( > biblio => $biblio, > patron => $patron, >+ C4::Search::enabled_staff_search_views, > ); > > output_html_with_http_headers $cgi, $cookie, $template->output; >-- >2.7.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 21291
:
78311
|
79952
|
79958
|
80369
|
80401
|
80402
|
80427
|
80428