[Koha-bugs] [Bug 8002] Can't add patron attribute type in newer installation
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Sep 6 13:36:25 CEST 2012
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8002
--- Comment #10 from Paul Poulain <paul.poulain at biblibre.com> ---
The patch introducing this column is: bb35b608282e670e1bb07bf4cea324fc16b6ec90
Auteur: Jonathan Druart <jonathan.druart at biblibre.com> 2012-02-10 09:57:35
Bug 7154: Modification in borrower attributes
* group some attributes for a more friendly display
* allow a link between a borrower category and an attribute to display
it only for the specified category
* Attr classes filled with AV 'PA_CLASS' category (you have to create AV
with a new category 'PA_CLASS' to fill class list)
this patch add 2 fields in borrower_attribute_types :
category_code
class
Signed-off-by: Julien Sicot <julien.sicot at gmail.com>
Signed-off-by: Paul Poulain <paul.poulain at biblibre.com>
I just tried to add a filtered attribute =
DBD::mysql::st execute failed: Cannot add or update a child row: a foreign key
constraint fails (`lecannetdesmaures`.`borrower_attribute_types`, CONSTRAINT
`category_code_fk` FOREIGN KEY (`category_code`) REFERENCES `categories`
(`categorycode`)) at
/home/paul/koha.dev/koha-community/C4/Members/AttributeTypes.pm line 220.
!!!
Just spoke with jonathan, and, unfortunately, in his test database, he only has
1 digit categories, so it work fine !!!
Patch coming ;-)
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list