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>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 7ec849f393
)
Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
This commit is contained in:
parent
14739be193
commit
0f4b45b6a8
1 changed files with 1 additions and 1 deletions
|
@ -243,7 +243,7 @@ foreach my $item (@items){
|
|||
{ itemnumber => $item->itemnumber },
|
||||
{
|
||||
order_by => { '-desc' => 'returndate' },
|
||||
limit => 3
|
||||
rows => 3,
|
||||
}
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in a new issue