From 2192e361b7bf7f6150ed26c88ade605df461fc47 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Fri, 27 Mar 2015 12:02:11 +0100 Subject: [PATCH] [SIGNED-OFF] 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 --- svc/holds | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/svc/holds b/svc/holds index 43bcf2a..263f8ec 100755 --- a/svc/holds +++ b/svc/holds @@ -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 } } ); -- 1.7.2.5