Bug 13923: The prefetch used on existing constraint

The belongs_to constraint has been removed by bug 13713.
Not sure if it was a good idea, but atm the easy and quick way is to
remove the prefetch.

Test plan:
Go on the circulation page, holds tab
Confirm that there is no regression
(Same on the patron details page > Holds tab)

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
This commit is contained in:
Jonathan Druart 2015-03-27 12:02:11 +01:00 committed by Tomas Cohen Arazi
parent a6facaa534
commit 4fb73b9abf
1 changed files with 0 additions and 1 deletions

View File

@ -62,7 +62,6 @@ print $input->header( -type => 'text/plain', -charset => 'UTF-8' );
my $holds_rs = $schema->resultset('Reserve')->search(
{ borrowernumber => $borrowernumber },
{
prefetch => { 'item' => 'biblio' },
order_by => { "-$sorting_direction" => $sorting_column }
}
);