small bugfix to search on >= and not >
authortipaul <tipaul>
Wed, 18 Dec 2002 10:56:41 +0000 (10:56 +0000)
committertipaul <tipaul>
Wed, 18 Dec 2002 10:56:41 +0000 (10:56 +0000)
admin/marctagstructure.pl

index ecbb1fa..cbb2f2a 100755 (executable)
@@ -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;