Created attachment 151488 [details] moredetail.pl Instead of showing the last 3 borrowers per bug 32272, moredetail.pl is showing all previous borrowers for items (see attached).
One possible workaround I thought of would be to use javascript to remove all children <li> after the sixth one in the <ol class="bibliodetails"> on the item details page.
Created attachment 151763 [details] [review] Bug 33788: Limit the number of old issues rows returned This patch updates the parameter from 'limit' to 'rows' To test: 1 - Checkout an item to 5 different people 2 - View item details on items tab of record 3 - Note you see last borrower, and three previous borrowers 4 - Apply patch, restart all 5 - Refresh page 6 - You shoulw now only see last borrower and 2 previous borrowers
Created attachment 151782 [details] [review] Bug 33788: Limit the number of old issues rows returned This patch updates the parameter from 'limit' to 'rows' To test: 1 - Checkout an item to 5 different people 2 - View item details on items tab of record 3 - Note you see last borrower, and three previous borrowers 4 - Apply patch, restart all 5 - Refresh page 6 - You shoulw now only see last borrower and 2 previous borrowers Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Very small, save, no strings.
Pushed to master for 23.05. Nice work everyone, thanks!
Nice work everyone! Pushed to stable for 22.11.x
Good catch ;) The doc : https://metacpan.org/pod/DBIx::Class::ResultSet#rows