Koha/koha-tmpl/opac-tmpl/bootstrap
Jonathan Druart a4c3455b8c Bug 15550: Fix authority search and detail at the OPAC
The author of Bug 15381 (me!) has mismatch the objects he was
manipulating and forgotten to update a template.
for the opac-aythorities-home, the variable is named authority_types,
not authtypesloop.
In opac-authoritiesdetail.pl, the $record is a MARC::Record and there is
no authtypecode method. We need to retrieve the authtypecode using
the new Koha::Authorities module.

Test plan:
Search for authorities at the OPAC and click on the detail link to go to
the detail page.
Without this patch, you will get errors.
With this patch, the errors should have gone and everything should work
as before bug 15381.

Signed-off-by: Hector Castro <hector.hecaxmmx@gmail.com>
Works as described. Pull down for choosing the auth_type displayed again

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>

Signed-off-by: Brendan Gallagher brendan@bywatersolutions.com
2016-01-23 18:34:06 +00:00
..
css Bug 5685: (RM followup) opac.less and opac.css out of sync 2015-10-23 09:44:21 -03:00
en Bug 15550: Fix authority search and detail at the OPAC 2016-01-23 18:34:06 +00:00
images
itemtypeimg
js BUG 11602: [ENH] Fix localcover display 2015-12-04 16:12:52 +00:00
less
lib Bug 13696: Add support for Font Awesome icons in Koha 2015-10-27 09:57:23 -03:00