Bug 19263: Rancor - 001 widdget only for configured client
authorCori Lynn Arnold <carnold@dgiinc.com>
Tue, 9 Oct 2018 12:48:58 +0000 (12:48 +0000)
committerNick Clemens <nick@bywatersolutions.com>
Sat, 27 Oct 2018 13:26:09 +0000 (13:26 +0000)
commit6f8fe7e22a59cef7bd1804440cbd7ceaaddf25b7
treec86c1f8b5be26ec801107ef177c8dffab94486cf
parent6fd74beeababe6741c5d551f8753eee122e9962b
Bug 19263: Rancor - 001 widdget only for configured client

Tests:

1) Verify that a new entry for CONTROL_NUM_SEQUENCE is added to table
authorised_value_categories
2) Edit a bib record using advanced editor and note that 001 widget
isn't there when adding/editing 001 field
3) Add a new row into authorised_values table with:
    a) CONTROL_NUM_SEQUENCE in category column
    b) authorised_value column has a string ending with a number i.e.
    "faw0001"
    c) lib column has a short string indicating type of control number
    i.e. "FAW"
4) Edit a bib record using the advanced editor and note that the 001
widget is there when adding / editing 001 field

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
installer/data/mysql/mandatory/auth_val_cat.sql
koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-widgets-marc21.inc