Bug 3899 - Receive Serial Item Has Copy Info in Wrong Field
Summary: Receive Serial Item Has Copy Info in Wrong Field
Status: CLOSED FIXED
Alias: None
Product: Koha
Classification: Unclassified
Component: Serials (show other bugs)
Version: Main
Hardware: PC All
: PATCH-Sent (DO NOT USE) normal
Assignee: Nicole C. Engard
QA Contact:
URL:
Keywords:
: 4923 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-12-11 01:20 UTC by Nicole C. Engard
Modified: 2012-10-25 22:52 UTC (History)
2 users (show)

See Also:
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 (90.51 KB, image/png)
2009-12-11 13:20 UTC, Chris Cormack
Details
patch (1.29 KB, patch)
2009-12-11 18:59 UTC, Chris Cormack
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
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. ***