[OPEN-ILS-GENERAL] [Evergreen-catalogers] Adding Text to Call Number Template for Spine Labels
Terran McCanna
tmccanna at georgialibraries.org
Mon Oct 28 14:15:04 EDT 2019
I'm not sure how to add logic in there to check for the existence of a copy
number. If you wanted to add c. to *all* of the labels, you could try this:
,get_cn_and_location_suffix(copy)
to be:
,"c. ", get_cn_and_location_suffix(copy)
Terran McCanna, PINES Program Manager
------------------------------
Georgia Public Library Service | University System of Georgia
2872 Woodcock Blvd, Suite 250 l Atlanta, GA 30341
(404) 235-7138 | tmccanna at georgialibraries.org
http://help.georgialibraries.org | help at help.georgialibraries.org
<https://www.facebook.com/georgialibraries>
<https://www.twitter.com/georgialibs>
Join our email list <http://georgialibraries.org> for stories of Georgia
libraries making an impact in our communities.
On Mon, Oct 28, 2019 at 1:01 PM Jennifer Pringle <
jennifer.pringle at bc.libraries.coop> wrote:
>
> Hello,
>
> One of our libraries would like to include the item number on their
> spine labels prefaces with c. Adding ,copy['copy_number'] to the
> Call Number Template adds the item number but I can't figure out make
> it so that c. appears before each item number. Has anyone done this
> or know if it's possible?
>
> Current Call Number Template Code
>
> <pre>
> {{
> [
> get_cn_and_location_prefix(copy)
> ,copy['call_number.label']
> ,copy['copy_number']
> ,get_cn_and_location_suffix(copy)
> ]
> |
>
> cn_wrap:settings['webstaff.cat.label.call_number_wrap_filter_width']:settings['webstaff.cat.label.call_number_wrap_filter_height']:copy['call_number.label_class']
> }}
> </pre>
>
>
>
>
> Thanks,
>
> Jennifer
> --
> Jennifer Pringle
> Co-op Support
> BC Libraries Cooperative
> Tel: 1-888-848-9250
> Email:jennifer.pringle at bc.libraries.coop
> Website: http://bc.libraries.coop
>
> Gratefully acknowledging that I live and work in the unceded
> Traditional Territory of the St'at'yemc Nations.
>
> _______________________________________________
> Evergreen-catalogers mailing list
> Evergreen-catalogers at list.evergreen-ils.org
> http://list.evergreen-ils.org/cgi-bin/mailman/listinfo/evergreen-catalogers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://libmail.georgialibraries.org/pipermail/open-ils-general/attachments/20191028/318d1f95/attachment.html>
More information about the Open-ils-general
mailing list