From 492ca6fcc62cea8b3f6064a77bd1b97632a93373 Mon Sep 17 00:00:00 2001 From: tipaul Date: Wed, 18 Dec 2002 10:56:41 +0000 Subject: [PATCH] small bugfix to search on >= and not > --- admin/marctagstructure.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/marctagstructure.pl b/admin/marctagstructure.pl index ecbb1fa4c1..cbb2f2ab09 100755 --- a/admin/marctagstructure.pl +++ b/admin/marctagstructure.pl @@ -33,7 +33,7 @@ sub StringSearch { $searchstring=~ s/\'/\\\'/g; my @data=split(' ',$searchstring); my $count=@data; - my $query="Select tagfield,liblibrarian,libopac,repeatable,mandatory,authorised_value from marc_tag_structure where (tagfield > $data[0]) order by tagfield"; + my $query="Select tagfield,liblibrarian,libopac,repeatable,mandatory,authorised_value from marc_tag_structure where (tagfield >= $data[0]) order by tagfield"; my $sth=$dbh->prepare($query); $sth->execute; my @results; -- 2.39.5