From c82cca6544ac1d69799d15c33cced0ed6d86d036 Mon Sep 17 00:00:00 2001 From: sergerenaux Date: Wed, 18 Jun 2003 08:38:34 +0000 Subject: [PATCH] Fix for bug #496 --- opac/opac-search.pl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/opac/opac-search.pl b/opac/opac-search.pl index 93bfa393cc..80736a6fbb 100755 --- a/opac/opac-search.pl +++ b/opac/opac-search.pl @@ -12,16 +12,16 @@ use HTML::Template; my $classlist=''; my $dbh=C4::Context->dbh; -my $sth=$dbh->prepare("select groupname,itemtypes from itemtypesearchgroups order by groupname"); +my $sth=$dbh->prepare("select description,itemtype from itemtypes order by description"); $sth->execute; -while (my ($groupname,$itemtypes) = $sth->fetchrow) { - $classlist.="