Bug 21291: request-article.pl doesn't show MARC, LabeledMARC and ISBD in sidebar
authorBlou <philippe.blouin@inlibro.com>
Thu, 30 Aug 2018 14:33:44 +0000 (10:33 -0400)
committerNick Clemens <nick@bywatersolutions.com>
Mon, 15 Oct 2018 13:40:46 +0000 (13:40 +0000)
commitab13b53854e0aa726c8112d8f31cc553484637bd
treea0f5d8bfcf8c7e9dbb4c5e52bd361ceb5205208c
parent8d9284668c6de2d5fbfc4079a8b0516ba1645876
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

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
circ/request-article.pl