Koha/koha-tmpl/intranet-tmpl/prog/en
Fridolyn SOMERS 2643f0ec39 Bug 9947 - Creating item for received serial prefills enumchron subfield
In serial receiving :
When creating an item for an issue, a javascript prefilles the $h subfield with issue number.
This is for MARC21, in UNIMARC serial number is on $v.

This patch replaces hard-coded value with the subfield mapped with "items.enumchron".

Test plan :
- Set "Koha to MARC mapping" of "items.enumchron" on a subfield other than $h, ie $z
- Go to a serial subscription detail with "Serial receipt creates an item record"
- Click on "Receive"
- On an issue, click on "Click to add item"
=> Check that issue number is copied into selected subfield, ie $z
You may test that with no mapping of "items.enumchron" there is no javascript error

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Nice catch! Works as advertised.
All tests pass after fixing tabulation characters in serials-edit.tt.
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
2013-04-02 08:58:52 -04:00
..
css Bug 9571 - Fix width for textareas in Edit Item screen 2013-04-02 08:23:34 -04:00
includes Bug 9917 - Routing list tab on patron account should depend on syspref/permission 2013-03-31 08:52:35 -04:00
js Bug 9882 - Use DataTables on batch modifications pages 2013-03-30 20:33:52 -04:00
lib Bug 9034: Add sorting and filtering on items table (catalogue/detail.pl) 2013-02-07 19:35:51 -05:00
modules Bug 9947 - Creating item for received serial prefills enumchron subfield 2013-04-02 08:58:52 -04:00
xslt Bug 9403: Follow-up: Move "Type" in XSLT result list to match OPAC result list 2013-03-21 12:00:41 -04:00
columns.def Bug 5482 [Follow up] Translation problem in guided reports - Item field names 2012-03-22 11:16:27 +01:00