[Koha-bugs] [Bug 9947] Creating item for received serial prefills enumchron subfield

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sun Mar 31 13:37:34 CEST 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9947

Katrin Fischer <katrin.fischer at bsz-bw.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #17084|0                           |1
        is obsolete|                            |

--- Comment #4 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
Created attachment 17085
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=17085&action=edit
[PASSED QA] 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 at catalyst.net.nz>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83 at web.de>
Nice catch! Works as advertised.
All tests pass after fixing tabulation characters in serials-edit.tt.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list