]> git.koha-community.org Git - koha.git/commit
Bug 11131: display authority summary correctly when searching by all authority types
authorJonathan Druart <jonathan.druart@biblibre.com>
Thu, 24 Oct 2013 13:28:42 +0000 (15:28 +0200)
committerFridolin Somers <fridolin.somers@biblibre.com>
Mon, 27 Jan 2014 13:49:11 +0000 (14:49 +0100)
commitdf2c9e176444d5c737a59d5644bee91b109f7451
tree93ba916752797c48b440ab247abc2e3b1b6b25e3
parentef6eeba806fcea5e9cab652f425546de90147285
Bug 11131: display authority summary correctly when searching by all authority types

The summary is built using the authtypecode selected from the interface.
So when a search is launch on all auth types, the summary is not
correctly built by the BuildSummary routine.

It should get the authtypecode from the authority (call to
GetAuthTypeCode).

To test:
1/ go to authorities/authorities-home.pl
2/ search <something> by authtype personal name
3/ results are displayed with summary
4/ now select the default entry and search again the
results display but without the summary
5/ apply the patch
6/ search default again, now summary shows

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Tested with a UNIMARC database, works as described.
All tests and QA script pass.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
(cherry picked from commit e5cec32d078eac98b603d637b7d713a780be3e66)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
C4/AuthoritiesMarc.pm