From: Galen Charlton Date: Wed, 10 Aug 2016 14:26:06 +0000 (-0400) Subject: LP#1609556: (follow-up) restore previous 852$d output X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=a23e17d66f2287530aed4b7a3e7b21c38cb8c62e;p=working%2FEvergreen.git LP#1609556: (follow-up) restore previous 852$d output The previous patch had a side-effect of changing the 852$d value from the circ library's shortname to its long name. This patch restores the previous behavior. Signed-off-by: Galen Charlton Signed-off-by: Mike Rylander --- diff --git a/Open-ILS/src/perlmods/lib/OpenILS/WWW/SuperCat.pm b/Open-ILS/src/perlmods/lib/OpenILS/WWW/SuperCat.pm index 400d0f0fbb..a338ebe12c 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/WWW/SuperCat.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/WWW/SuperCat.pm @@ -2031,7 +2031,7 @@ sub sru_search { a => $copy->getChildrenByTagName('location')->[0]->textContent, b => $owning_lib, c => $cn, - d => $copy->getChildrenByTagName('circlib')->[0]->textContent, + d => $copy->getChildrenByTagName('circ_lib')->[0]->getAttribute('shortname'), g => $copy->getAttribute('barcode'), n => $copy->getChildrenByTagName('status')->[0]->textContent };