In the table of the user's checkouts the "renew" column can't be sorted. This decision was based on the fact that the column doesn't display strictly sortable data. However, data is available on the number of renewals remaining, so we could offer sorting on that number.
Created attachment 109830 [details] [review] Bug 25771: Allow the user to sort checkouts by the renew column in the OPAC This patch makes it possible for the logged-in OPAC user to sort their checkouts by the number of renewals they have remaining on their checkouts. To test, apply the patch and log in to the OPAC as a user with multiple checkouts. To fully test the patch's functionality the user's checkouts should have a varying number of renewals available. On the "your summary" page, confirm that the "Renew" column is now sortable and that it sorts correctly by the number of renewals left on each checked-out item.
Created attachment 110456 [details] [review] Bug 25771: Allow the user to sort checkouts by the renew column in the OPAC This patch makes it possible for the logged-in OPAC user to sort their checkouts by the number of renewals they have remaining on their checkouts. To test, apply the patch and log in to the OPAC as a user with multiple checkouts. To fully test the patch's functionality the user's checkouts should have a varying number of renewals available. On the "your summary" page, confirm that the "Renew" column is now sortable and that it sorts correctly by the number of renewals left on each checked-out item. Signed-off-by: Henry Bolshaw <bolshawh@parliament.uk>
Created attachment 110488 [details] [review] Bug 25771: Allow the user to sort checkouts by the renew column in the OPAC This patch makes it possible for the logged-in OPAC user to sort their checkouts by the number of renewals they have remaining on their checkouts. To test, apply the patch and log in to the OPAC as a user with multiple checkouts. To fully test the patch's functionality the user's checkouts should have a varying number of renewals available. On the "your summary" page, confirm that the "Renew" column is now sortable and that it sorts correctly by the number of renewals left on each checked-out item. Signed-off-by: Henry Bolshaw <bolshawh@parliament.uk> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Pushed to master for 20.11, thanks to everybody involved!
enhancement will not be backported to 20.05.x