fix for 570 : If a subject search is done from the OPAC or Intranet Catalogue, duplicate

results are returned.  For instance, if a search for 'dogs' returns 25 results
that have the subject 'dogs,' there will be 25 duplicate listings in the results.
This commit is contained in:
tipaul 2003-08-08 15:25:27 +00:00
parent c60930eef1
commit 78c8b66905

View file

@ -1077,7 +1077,7 @@ like '%($key[0])%')"; while ($i<$count){ $query.=" and (subject like
}
} else {
if ($type eq 'subject'){
$query .= " order by subject";
$query .= "group by subject order by subject ";
}
}
my $sth=$dbh->prepare($query);