Koha-clms/koha-tmpl
Fridolyn SOMERS 61e355c0dc 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>

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
2013-04-14 18:36:10 +12:00
..
intranet-tmpl/prog Bug 9947 - Creating item for received serial prefills enumchron subfield 2013-04-14 18:36:10 +12:00
opac-tmpl Bug 9419: The highlight feature can cause a browser freeze 2013-03-31 14:26:02 +13:00
favicon.ico
…
index.html
…
intranet.html
…
opac.html
…
templates.readme
…