Koha 3.18 - Label Creator - Call number volume statement displaying as "0"?
Hi everyone, Koha: 3.18.1 Ubuntu 12.04 I am attempting to set-up my label template (using Avery 9576 labels), and in doing so I've noticed that all items exported as PDF which have a volume statement in the call number (Koha field: "enumchron") is displaying as "0" rather than the anticipated "v.1, v.2..." etc. (see attached for an example). I have my template set to: Code 39 Biblio And call number fields to print set to 1. itemcallnumber 2. enumchron 3. copynumber Has anyone experienced this? If so, can this be fixed? Many thanks! Craig Butosi, MA, MLIS, B Mus (Hons.) LIBRARY SERVICES MANAGER the royal conservatory TELUS Centre for Performance and Learning 273 Bloor Street West Toronto, ON M5S 1W2 416.408.2824 x338 www.rcmusic.ca<http://www.rcmusic.ca/> Note: This email message and any attachments are intended only for the use of the individual to which it is addressed, and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If the recipient of this email is not the intended recipient (or the employee or agent responsible for delivering the email to the intended recipient), you are hereby notified that any review, dissemination, distribution or copying or other use of this message is strictly prohibited. If you have received this communication in error, please notify the sender immediately by return email and delete this message and attachments from your system, thank you.
Greetings, When you said enumchron, that got me thinking back to a bug I was dealing with. Long and short is, I found that template that came to mind and read: [% IF item.enumchron && item.serialseq %] <span class="enum">[% item.enumchron %]</span> [% IF ( item.serialseq && item.enumchron!=item.serialseq ) %] <span class="sep"> -- </span> <span class="serialseq">[% item.serialseq %]</span> [% END %] [% ELSIF item.enumchron %] <span class="enum">[% item.enumchron %]</span> [% ELSIF item.serialseq %] <span class="serialseq">[% item.serialseq %]</span> [% END %] [% IF ( item.publisheddate ) %] <span class="pubdate">([% item.publisheddate %])</span> [% END %] You will see that serialseq is displayed just like enumchron in the two ELSIF's. Perhaps you might try serialseq instead? GPML, Mark Tompsett
Hi Mark, Interesting. After looking at the Koha schema (http://schema.koha-community.org/) I only saw enumchron as a possibility for volume statements. I shall tinker with the serialseq field and see what happens. Thank you! Best to all, Craig Butosi, MA, MLIS, B Mus (Hons.) LIBRARY SERVICES MANAGER THE ROYAL CONSERVATORY TELUS Centre for Performance and Learning 273 Bloor Street West Toronto, ON M5S 1W2 416.408.2824 x338 www.rcmusic.ca -----Original Message----- From: Mark Tompsett [mailto:mtompset@hotmail.com] Sent: December-18-14 7:29 PM To: Craig Butosi Cc: koha@lists.katipo.co.nz Subject: Re: [Koha] Koha 3.18 - Label Creator - Call number volume statement displaying as "0"? Greetings, When you said enumchron, that got me thinking back to a bug I was dealing with. Long and short is, I found that template that came to mind and read: [% IF item.enumchron && item.serialseq %] <span class="enum">[% item.enumchron %]</span> [% IF ( item.serialseq && item.enumchron!=item.serialseq ) %] <span class="sep"> -- </span> <span class="serialseq">[% item.serialseq %]</span> [% END %] [% ELSIF item.enumchron %] <span class="enum">[% item.enumchron %]</span> [% ELSIF item.serialseq %] <span class="serialseq">[% item.serialseq %]</span> [% END %] [% IF ( item.publisheddate ) %] <span class="pubdate">([% item.publisheddate %])</span> [% END %] You will see that serialseq is displayed just like enumchron in the two ELSIF's. Perhaps you might try serialseq instead? GPML, Mark Tompsett Note: This email message and any attachments are intended only for the use of the individual to which it is addressed, and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If the recipient of this email is not the intended recipient (or the employee or agent responsible for delivering the email to the intended recipient), you are hereby notified that any review, dissemination, distribution or copying or other use of this message is strictly prohibited. If you have received this communication in error, please notify the sender immediately by return email and delete this message and attachments from your system, thank you.
participants (2)
-
Craig Butosi -
Mark Tompsett