[Koha-bugs] [Bug 27857] Koha::Patron->extended_attributes skips checks

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Mar 31 13:06:43 CEST 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27857

--- Comment #28 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 119038
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=119038&action=edit
Bug 27857: Get the right column

This patch makes the search for mandatory attribute types actually use
'code' instead of 'class' for comparisson.

Tests are added to cover this behavior.

To test:
1. Apply this patch
2. Run:
   $ kshell
  k$ prove t/db_dependent/Koha/Patron.t
=> SUCCESS: Tests pass!
3. Sign off :-D

Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>

https://bugs.koha-community.org/show_bug.cgi?id=27587

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list