Lines 243-249
if (C4::Context->preference('IndependentBranches')){
Link Here
|
243 |
$strsth .= " AND items.holdingbranch=? "; |
243 |
$strsth .= " AND items.holdingbranch=? "; |
244 |
push @query_params, C4::Context->userenv->{'branch'}; |
244 |
push @query_params, C4::Context->userenv->{'branch'}; |
245 |
} |
245 |
} |
246 |
$strsth .= " GROUP BY reserves.biblionumber ORDER BY biblio.title "; |
246 |
$strsth .= " GROUP BY reserves.itemnumber,reserves.biblionumber ORDER BY biblio.title "; |
247 |
|
247 |
|
248 |
my $sth = $dbh->prepare($strsth); |
248 |
my $sth = $dbh->prepare($strsth); |
249 |
$sth->execute(@query_params); |
249 |
$sth->execute(@query_params); |
250 |
- |
|
|