Bug 28081: Make card number a label in patron search results
authorOwen Leonard <oleonard@myacpl.org>
Fri, 2 Apr 2021 19:54:30 +0000 (19:54 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 14 Apr 2021 13:25:23 +0000 (15:25 +0200)
commitac87c68b56180aaf9b6853678672d66d1fb8f6b1
treeebffa1e637df4ba876c8f08e51bb0edac8311b7d
parent0f33c0a7d58704dba0e4c30b0b8904131adea111
Bug 28081: Make card number a label in patron search results

This patch modifies the output of the AJAX patron search results so that
the number in the card number column is wrapped in a <label> tag which
triggers the corresponding checkbox.

To test, apply the patch and go to the Patrons module.

 - Perform a patron search which will return more than one result or
   click on a letter to browse.
 - In the search results, confirm that clicking any card number triggers
   the corresponding checkbox.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/modules/members/tables/members_results.tt