Bug 16056: Do not crash when searching for an authority if zebra's index is not...
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 21 Mar 2016 15:25:41 +0000 (15:25 +0000)
committerBrendan A Gallagher <brendan@bywatersolutions.com>
Fri, 1 Apr 2016 19:04:38 +0000 (19:04 +0000)
commit2d961b5ad434438c4ba52b62132c2f1b58b9a981
tree31a00d19c08c47539b2e8782c6d396843c428297
parentda052b3d10d71cb1256693fbd3166caaa4b53f41
 Bug 16056: Do not crash when searching for an authority if zebra's index is not up-to-date

This patch fixes a regression introduced by
commit 7e70202d34d75f988fbaea9b911347417c203aac
  Bug 15381: Remove GetAuthType and GetAuthTypeCode

This first version will reintroduce the same behavior as before bug
15381: the record will be displayed even if it's no in the DB

Test plan:
Search for authorities
delete one
The zebra's index is not updated yet and the results will contain the
record you have deleted.

Signed-off-by: Tomas Cohen Arazi <tomascohen@unc.edu.ar>
Signed-off-by: Brendan A Gallagher <brendan@bywatersolutions.com>
C4/AuthoritiesMarc.pm