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

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jul 20 14:44:53 CEST 2018


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

Fridolin SOMERS <fridolin.somers at biblibre.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #70243|0                           |1
        is obsolete|                            |

--- Comment #4 from Fridolin SOMERS <fridolin.somers at biblibre.com> ---
Created attachment 77161
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=77161&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