Koha/cataloguing/value_builder
Fridolin Somers 41a172ac4f Bug 20435: Allow lowercase prefix in inventory value builder
Cataloging value builders for inventory stocknumberAV.pl and stocknumberam123.pl use a regexp to define if entered text is a prefix or not.
It actually only allows uppercase characters. A library may want to catalog with lowercase characters in inventory number and using those value builders.
Note that in database the text is not case-sensitive.

Test plan:
1) Configure stocknumberAV.pl value builder on an item subfield
2) Create an autorized value category 'INVENTORY'
3) Create in this category a value with code 'UC' and description '10'
4) Create in this category a value with code 'lc' and description '20'
5) Create a new item
6) Focus on stocknumber subfield
7) Enter '123' and click on value builder, the entry stays '123'
8) Enter 'UC' and click on value builder, the entry turn to 'UC 0000000011'
9) Enter 'lc' and click on value builder, the entry turn to 'lc 0000000021'
Same for stocknumberam123.pl

To elaborate on step #1:

Go to Administration->MARC Bibliographic framework
Click on the "Action" button to view the framework
for the item you will be creating, view MARC structure.
Search for Tag 952 (LOCATION AND ITEM INFORMATION (KOHA))
Select Actions->Subfields
Edit subfield i for "Inventory Number"
In the "Other options" pane, select the plugin to test.

Signed-off-by: Cori Lynn Arnold <carnold@dgiinc.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
2018-11-06 17:42:31 +00:00
..
barcode.pl
barcode_manual.pl
callnumber-KU.pl
callnumber.pl
cn_browser.pl
dateaccessioned.pl
EXAMPLE.pl
macles.pl
marc21_field_005.pl
marc21_field_006.pl
marc21_field_007.pl
marc21_field_008.pl
marc21_field_008_authorities.pl
marc21_field_008_classifications.pl
marc21_field_245h.pl
marc21_leader.pl
marc21_leader_authorities.pl
marc21_linking_section.pl
marc21_orgcode.pl
normarc_field_007.pl
normarc_field_008.pl
normarc_leader.pl
stocknumber.pl
stocknumberam123.pl
stocknumberAV.pl
unimarc_field_4XX.pl
unimarc_field_010.pl
unimarc_field_100.pl
unimarc_field_100_authorities.pl
unimarc_field_105.pl
unimarc_field_106.pl
unimarc_field_110.pl
unimarc_field_115a.pl
unimarc_field_115b.pl
unimarc_field_116.pl
unimarc_field_117.pl
unimarc_field_120.pl
unimarc_field_121a.pl
unimarc_field_121b.pl
unimarc_field_122.pl
unimarc_field_123a.pl
unimarc_field_123d.pl
unimarc_field_123e.pl
unimarc_field_123f.pl
unimarc_field_123g.pl
unimarc_field_123i.pl
unimarc_field_123j.pl
unimarc_field_124.pl
unimarc_field_124a.pl
unimarc_field_124b.pl
unimarc_field_124c.pl
unimarc_field_124d.pl
unimarc_field_124e.pl
unimarc_field_124f.pl
unimarc_field_124g.pl
unimarc_field_125.pl
unimarc_field_125a.pl
unimarc_field_125b.pl
unimarc_field_126.pl
unimarc_field_126a.pl
unimarc_field_126b.pl
unimarc_field_127.pl
unimarc_field_128a.pl
unimarc_field_128b.pl
unimarc_field_128c.pl
unimarc_field_130.pl
unimarc_field_135a.pl
unimarc_field_140.pl
unimarc_field_141.pl
unimarc_field_210c.pl
unimarc_field_210c_bis.pl
unimarc_field_225a.pl
unimarc_field_225a_bis.pl
unimarc_field_686a.pl
unimarc_field_700-4.pl
unimarc_leader.pl
upload.pl