Skip to content
Snippets Groups Projects
Commit 4c9a9a7d authored by Thomas Misilo's avatar Thomas Misilo Committed by Demian Katz
Browse files

Adding i.location as a fallback location value (#810)

Per Mailing list recommendations adding in support for checking if the item has a location set, even if the authorized value isn't set.
parent bfa293b2
No related merge requests found
...@@ -652,7 +652,7 @@ class KohaILSDI extends \VuFind\ILS\Driver\AbstractBase implements ...@@ -652,7 +652,7 @@ class KohaILSDI extends \VuFind\ILS\Driver\AbstractBase implements
$reserves = "N"; $reserves = "N";
$sql = "select i.itemnumber as ITEMNO, i.location, $sql = "select i.itemnumber as ITEMNO, i.location,
COALESCE(av.lib_opac,av.lib, av.authorised_value) AS LOCATION, COALESCE(av.lib_opac,av.lib,av.authorised_value,i.location) AS LOCATION,
i.holdingbranch as HLDBRNCH, i.homebranch as HOMEBRANCH, i.holdingbranch as HLDBRNCH, i.homebranch as HOMEBRANCH,
i.reserves as RESERVES, i.itemcallnumber as CALLNO, i.barcode as BARCODE, i.reserves as RESERVES, i.itemcallnumber as CALLNO, i.barcode as BARCODE,
i.copynumber as COPYNO, i.notforloan as NOTFORLOAN, i.copynumber as COPYNO, i.notforloan as NOTFORLOAN,
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment