[Koha-bugs] [Bug 15550] Authority type pull down in OPAC authority search is empty

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jan 12 21:43:21 CET 2016


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15550

Héctor Eduardo Castro Avalos <hector.hecaxmmx at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #46516|0                           |1
        is obsolete|                            |

--- Comment #3 from Héctor Eduardo Castro Avalos <hector.hecaxmmx at gmail.com> ---
Created attachment 46561
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=46561&action=edit
[SIGNED-OFF]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 at gmail.com>
Works as described. Pull down for choosing the auth_type displayed again
detail fixed

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list