]> git.koha-community.org Git - koha.git/commit
Bug 13379: Extends authorised_values.category to varchar(32)
authorJonathan Druart <jonathan.druart@biblibre.com>
Wed, 3 Dec 2014 11:33:48 +0000 (12:33 +0100)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Sun, 4 Jan 2015 15:51:26 +0000 (12:51 -0300)
commit8ad2ea87158754cd434c135e71398e9719e45d00
tree262396ed5ca02d8ce872633e4df12fa2debfcef1
parent1c9275d5c581c8adb7503160b52c989f70efb28d
Bug 13379: Extends authorised_values.category to varchar(32)

This patch does 2 things:
1/ It fixes a bug caused by the different data fields used for
authorised_values.category and
borrower_attribute_types.authorised_value_category (varchar(16) vs
varchar(10)).
To reproduce:
- Create a AV category with a length > 10
- Try to link a patron attribute type with this AV, it won't work.

2/ Extends this field to varchar(32): sometime 16 is not enough to
describe something

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
No koha-qa errors. Error reproduced, fixed by patch.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
installer/data/mysql/kohastructure.sql
installer/data/mysql/updatedatabase.pl
koha-tmpl/intranet-tmpl/prog/en/modules/admin/authorised_values.tt