[Koha-bugs] [Bug 3899] Receive Serial Item Has Copy Info in Wrong Field

bugzilla-daemon at kohaorg.ec2.liblime.com bugzilla-daemon at kohaorg.ec2.liblime.com
Fri Dec 11 19:57:16 CET 2009


http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=3899


Nicole C. Engard <nengard at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|paul.poulain at biblibre.com   |nengard at gmail.com




--- Comment #3 from Nicole C. Engard <nengard at gmail.com>  2009-12-11 18:57:16 ---
I explored the code and found the problem line:

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());

}

This is looking to fill subfield v when you want it to fill h - patching now


-- 
Configure bugmail: http://bugs.koha.org/cgi-bin/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the Koha-bugs mailing list