]> 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)
committerChris Cormack <chrisc@catalyst.net.nz>
Mon, 23 Mar 2015 19:06:38 +0000 (08:06 +1300)
commit38d15bb20e18b95a72e858e4bdb6efd9bd0e25d1
tree4df0e4dd65810ba6ec03c5b3fb317473ee8bb26f
parent1b92f5c21ca133930a4148bfc56fcbd9499c09aa
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: Chris Cormack <chrisc@catalyst.net.nz>
installer/data/mysql/kohastructure.sql
installer/data/mysql/updatedatabase.pl
koha-tmpl/intranet-tmpl/prog/en/modules/admin/authorised_values.tt