[Koha-bugs] [Bug 19909] Show attributes in patron search results

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jan 3 12:15:01 CET 2018


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

--- Comment #1 from Julian Maurice <julian.maurice at biblibre.com> ---
Created attachment 70243
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=70243&action=edit
Bug 19909: Show attributes in patron search results

Add a new column (hidden by default) in the results table which
displays all attributes associated to the corresponding patron.

New subroutine Koha::Patron::Attribute::display_value that
returns the authorised value description and defaults to the raw value
if the attribute's type is not associated to an authorised value
category

Test plan:
1. Create some patron attribute types, with and without an associated
authorised value category
2. Choose an existing patron and set a value for each attribute
3. Go to patron search and do a search that will return your patron (and
some others to avoid the redirection)
4. Show column 'Extended attributes' by clicking on 'Column visibility'
button
5. Note that all attributes are displayed correctly
6. prove t/db_dependent/Koha/Patron/Attributes.t

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


More information about the Koha-bugs mailing list