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:
parent
c60930eef1
commit
78c8b66905
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue