Bug 38637

Summary: Renewing a single item is broken in the OPAC on small screens
Product: Koha Reporter: Jason Robb <jrobb>
Component: OPACAssignee: Owen Leonard <oleonard>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: trivial    
Priority: P5 - low    
Version: Main   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Jason Robb 2024-12-05 18:01:24 UTC
On a small screen, the Renew link for a specific item in the table of checkouts at opac-user.pl does not renew the item but instead scrolls to the top of the page.

To recreate:

1. Check out an item to a patron that will allow for renewals
2. Log into the OPAC as that patron
3. Resize your browser so the checkouts table collapses (or use browser inspect to view at mobile browser dimensions)
4. Click the plus button in the far right column to expand the table row
5. Click the word 'Renew' next to the checkbox
6. The browser scrolls to the top, the item does not renew

As an aside, this isn't a fun experience in general.

It would be nicer if each row had a big "Renew" button that can easily be hit with your thumb, that doesn't get hidden away under the collapse.

It's also awkward that the checkboxes to make selections for use with the 'Renew selected' button are tiny, and hidden away under the plus button.

It would be nicer if the first column of the table was a big checkbox, the second column held the renew button, and the third column had title info -- and none of those columns should be hidden on a very small screen.