[OPEN-ILS-GENERAL] [Evergreen-catalogers] Adding Text to Call Number Template for Spine Labels
Jason Etheridge
jason at equinoxinitiative.org
Mon Oct 28 16:10:14 EDT 2019
You could do this, but it'll take up a line whether there's a copy number
or not:
,copy['copy_number'] ? 'c.' + copy['copy_number'] : ''
On Mon, Oct 28, 2019 at 2:15 PM Terran McCanna <
tmccanna at georgialibraries.org> wrote:
> 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
>>
> _______________________________________________
> Evergreen-catalogers mailing list
> Evergreen-catalogers at list.evergreen-ils.org
> http://list.evergreen-ils.org/cgi-bin/mailman/listinfo/evergreen-catalogers
>
--
Jason Etheridge
Senior Developer
Equinox Open Library Initiative
phone: 1-877-OPEN-ILS (673-6457)
email: jason at EquinoxInitiative.org
web: http://EquinoxInitiative.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://libmail.georgialibraries.org/pipermail/open-ils-general/attachments/20191028/0c1d7994/attachment-0001.html>
More information about the Open-ils-general
mailing list