]> git.koha-community.org Git - koha.git/commit
Bug 11174: fix OPAC search links built from authority 5xx fields
authorZeno Tajoli <z.tajoli@cineca.it>
Wed, 30 Oct 2013 18:36:41 +0000 (19:36 +0100)
committerGalen Charlton <gmc@esilibrary.com>
Fri, 13 Dec 2013 15:34:09 +0000 (15:34 +0000)
commit09fcd6980301bae3daad68f8cc27a2d5e7d488e4
treea838979da399afaf51bad30431892d7bfb426cb9
parentbefc07c754eb4c2199c0063f15f9ffb3f3ea8cca
Bug 11174: fix OPAC search links built from authority 5xx fields

In the templates opac-authoritiessearchresultlist of prog and
bootstrap the incorrect parameter 'valuec' is changed to 'value'

To test:

1) Insert an authority record with a 5xx field  (on MARC21 or UNIMARC)
2) Index the record
3) Search for the record in using OPAC authorities search.
4) Click one of the "see also" links built from the 5xx field, the link
   doesn't work
5) Apply the patch
6) Close the browser
7) Open the opac and select the english interface
8) Redo the search
9) Now the link works
10) To use the patch in others languages you need to regenerate the
    templates.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Tested with bootstrap.

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Following commit remove the use to valuec:
 commit 31f41e2c1db9d8dca82e0249050acb8f906c8164
    Bug 8206: Specify index in OPAC authority search

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-authoritiessearchresultlist.tt
koha-tmpl/opac-tmpl/prog/en/modules/opac-authoritiessearchresultlist.tt