Bug 3899

Summary: Receive Serial Item Has Copy Info in Wrong Field
Product: Koha Reporter: Nicole C. Engard <nengard>
Component: SerialsAssignee: Nicole C. Engard <nengard>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: PATCH-Sent (DO NOT USE) CC: henridamien, oleonard
Version: Main   
Hardware: PC   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Attachments: copy info in wrong field
patch

Description Chris Cormack 2010-05-21 01:20:46 UTC


---- Reported by nengard@gmail.com 2009-12-11 13:20:08 ----

Created an attachment
copy info in wrong field

When you mark a serial issue arrived and continue to add the item record the system puts the Vol & Num in the Replacement Cost Field by default instead of the Copy Number Field (which is where I assume it should go).



---- Additional Comments From katrin.fischer@bsz-bw.de 2009-12-11 13:30:47 ----

Im not sure copy number is right, we use Serial enumeration / chronology (952$h).

As I understood copy number can be used if you want to distinguish between identical items (same book, same itemcallnumber) and Serial enumeration for serials and volume numbers.







---- Additional Comments From nengard@gmail.com 2009-12-11 13:33:47 ----

Thanks for clarifying - so the info needs to be put in the Serial enumeration / chronology (952$h) field - not the replacement cost field



---- Additional Comments From nengard@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



---- Additional Comments From nengard@gmail.com 2009-12-11 18:59:39 ----

Created an attachment
patch





--- Bug imported by chris@bigballofwax.co.nz 2010-05-21 01:20 UTC  ---

This bug was previously known as _bug_ 3899 at http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=3899
Imported an attachment (id=1661)
Imported an attachment (id=1662)

Actual time not defined. Setting to 0.0
The original submitter of attachment 1661 [details] is unknown.
   Reassigning to the person who moved it here: chris@bigballofwax.co.nz.
The original submitter of attachment 1662 [details] [review] is unknown.
   Reassigning to the person who moved it here: chris@bigballofwax.co.nz.

Comment 1 Owen Leonard 2010-07-01 20:13:11 UTC
*** Bug 4923 has been marked as a duplicate of this bug. ***