]> git.koha-community.org Git - koha.git/commit
Bug 10691: 5xx not properly linked by authid in authority search result list
authorTomas Cohen Arazi <tomascohen@gmail.com>
Wed, 18 Sep 2013 14:33:07 +0000 (11:33 -0300)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 6 Jun 2014 10:18:49 +0000 (06:18 -0400)
commita8985d6a2f33ab99037d9a89c5acb74781829f1c
tree9c585ac03f40182db85fb57cf2a996896da5e65e
parent6a430244b61ddbbe02e71b129760440eecfea85b
Bug 10691: 5xx not properly linked by authid in authority search result list

This patch changes the URL and data used to show the 'see also' links
on the OPAC's authority search results page.

Bonus points: makes some strings translatable.

To test:
- On your dev setup (master) create some authority records (i created personal name authorities).
- Pick one of them and link 400$a to another one, do the same with 500$a
- Add some other 400$a and 500$a without linking (i.e. plain text)
- Make sure zebra is running and changes got indexed.
- In the OPAC search for the authority that is linked to the others.
- Check the 'see also:' link points to an authority search
- Apply the patch
- Reload/re-do the search
- Check the 'see also:' link points to the authority id in the case of linked authorities,
  and to an authority search in the case of plain text names.

Regards
To+

Sponsored-by: Universidad Nacional de Cordoba
Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Work as described. No errors

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
koha-tmpl/opac-tmpl/prog/en/includes/authorities-search-results.inc
koha-tmpl/opac-tmpl/prog/en/modules/opac-authoritiessearchresultlist.tt