]> git.koha-community.org Git - koha.git/commit
Bug 34220: Only show biblio-view-menu.inc if their is an associated bib
authorLucas Gass <lucas@bywatersolutions.com>
Fri, 7 Jul 2023 23:12:56 +0000 (23:12 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 18 Jul 2023 10:07:25 +0000 (11:07 +0100)
commitdd7f705acc818e505c572c6d8bd7ed71de7d3ce8
tree7c9ea1c132fc469bb245530f3f03dc7c6f713a52
parenta0a0c81df2fad545461ae2de70a10f7175f2d640
Bug 34220: Only show biblio-view-menu.inc if their is an associated bib

To test:
- Go to Tools > Log viewer
- Uncheck All modules
- Check the 'Catalog' module
- Make sure "To screen in the browser" is the selected output
- Click Submit

After the page loads, instead of the tools side navbar appearing on the left, a 'catalog detail' type navbar (Normal, MARC, ISBD, etc.) is present with links that error out as there's no associated bibnumber.

-Apply patch
-Try again, you should not see the biblio-view-menu
-Try one more time but this time add a valid biblionumber to the Object: field. Now the biblio-view-menu should show with links to that particular bib.

Works as advertised.
Signed-off-by: Alexander Blanchard <alexander.blanchard@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 7118a01294c6eab2b79305d95ecf7cad64d69458)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
koha-tmpl/intranet-tmpl/prog/en/modules/tools/viewlog.tt