I would like to modify patron search results in the patrons module so that each patron card number is wrapped in a label tag which controls the state of the corresponding checkbox.
+1, good idea.
Created attachment 119185 [details] [review] 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.
Created attachment 119189 [details] [review] 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>
Created attachment 119566 [details] [review] 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>
Pushed to master for 21.05, thanks to everybody involved!
Enhancement not pushed to 20.11.x