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)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 17 Oct 2018 10:48:48 +0000 (11:48 +0100)
commit607a602ea4bc47b9beb1be2dab1f19a4eaef36a3
tree90c0e0a8003bf99c2b273d9490123b2df9bfc22f
parenta9aa1bd1e43a871a813de1e2e97005567afa589c
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>
(cherry picked from commit ab13b53854e0aa726c8112d8f31cc553484637bd)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
circ/request-article.pl