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;