Hello everyone.

A few questions about serials:

I'm working on getting the serials module working correctly (or at least limping along). When receiving a new item from within a subscription record, some data is automatically generated in the item record. The call number is applied (as defined in system preferences "itemcallnumber") and "serialseq" ( from serialitems table) is inserted into $v - Cost, replacement price. The latter is obviously a mistake, and is easy enough to fix by editing line 73 of /usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/modules/serials/serials-edit.tmpl, replacing "v" with "h" to populate $h - Serial Enumeration / chronology with "serialseq" instead.

<http://pastebin.com/m4e03ad68>function unHideItems(index,labelindex, serialId) {
       subfield = document.getElementById(index);
       subfield.style.display = 'block';
       label = document.getElementById(labelindex);
label.style.display='none';
       // Prefilling 995$v with issue number
       // Getting item id
itemid = $("fieldset#" + index + " div.cataloguing_additem_itemlist div.items").attr("id");
       // Getting subfield id
       subfieldid = "subfield" + itemid.substr(4) + "v";
       // Setting text field
$("#" + subfieldid + " input[type='text']").val($("#serialseq" + serialId).val());

}

I was pointed to the following bug that deals with this issue:
Bug http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=3899 normal, PATCH-Sent, ---, neng...@gmail.com, NEW, Receive Serial Item Has Copy Info in Wrong Field

However, I'm trying to do a more involved customization to populate $h with "publisheddate" from the serialitems table and append "serialseq" to the call number in $o. Any tips on how I can achieve this?

I tried copying the js from above and changing the subfield to o and replacing serialseq with publisheddate, but this doesn't output the publisheddate field; it also overwrites the call number generated by system preferences, rather than appending to the end of it, so I guess something more sophisticated is necessary? In addition, $c, shelving location is missing from this form...I checked the MARC Bibliographic Framework and the code for the hidden field of 952$c is correct & it displays correctly when creating a non-serial item.

Thanks for your time.

--

Cheers,

Christopher Curry
Assistant Technical Librarian / Assistant IT Officer

American Philosophical Society
105 South Fifth Street
Philadelphia, PA 19106-3386
Tel. (215) 599-4299

ccu...@amphilsoc.org <mailto:ccu...@amphilsoc.org>

*For technical support, please use helpd...@amphilsoc.org <mailto:helpd...@amphilsoc.org>*
Main Library number: (215)440-3400
APS website: http://www.amphilsoc.org

_______________________________________________
Koha-devel mailing list
Koha-devel@lists.koha.org
http://lists.koha.org/mailman/listinfo/koha-devel

Reply via email to