https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38832

--- Comment #4 from David Cook <[email protected]> ---
Comment on attachment 176152
  --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=176152
Bug 38832: Remove authority search from catalogue/search

Review of attachment 176152:
 --> 
(https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=38832&attachment=176152)
-----------------------------------------------------------------

I think this is probably dead code.

If you try to trigger this code, it just breaks Koha in many cases, since it's
hard-coded to only work with Personal Name authorities:
1. Go to /cgi-bin/koha/catalogue/search.pl?q=e&server=authorityserver
2. Get this error: Can't call method "subfield" on an undefined value at
/kohadevbox/koha/catalogue/search.pl line 710

Technically, you can get it to sort of work with the following:
1. Go to /cgi-bin/koha/catalogue/search.pl?q=Alvarez&server=authorityserver
2. On the right hand side of the screen, you'll have a link for "Alvarez Felix,
Enrique," under a plain text heading of "authorityserver"
3. Clicking on the link just takes you to search.pl though since the link isn't
properly formed

Given the age of the code, it looks like something that probably never worked
right in Koha 3+

--

In some ways, it's an interesting idea. It could be interesting to do an
asynchronous search against the authority server and present it in a nice way,
but we'd want to implement it in a very different way I think...

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to