Bug 19319: Only fetch the record if it exists
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 8 Dec 2017 17:57:15 +0000 (14:57 -0300)
committerFridolin Somers <fridolin.somers@biblibre.com>
Sat, 23 Dec 2017 09:58:12 +0000 (10:58 +0100)
commit3ade912a388e076ab7811e680dc43ece587cd964
treead8d57f829cfc5022953149f96f20a00a16ec8f8
parent62f2ab8f6b6866c401ab231ba53a38122fd168c0
Bug 19319: Only fetch the record if it exists

We already know if the bibliographic record exists (404 redirect),
we can avoid unecessary fetches

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit 33b0a26a5bf32de1ffead556269d8f8e27289521)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
opac/opac-ISBDdetail.pl
opac/opac-detail.pl