Changeset 281

Show
Ignore:
Timestamp:
08/10/07 01:26:36 (3 years ago)
Author:
eevee
Message:

Fixed move search to allow for negative values when searching by priority. (#95)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • veekun/trunk/lib/Vee/Controller/Dex/Search.pm

    r225 r281  
    360360            for my $endpoint (keys %endpoints) { 
    361361                my $value = $p->{$numbar . '_' . $endpoint}; 
    362                 next unless Vee::Utils::isnum($value) and $value > 0; 
     362                next unless Vee::Utils::isnum($value) and ($numbar eq 'priority' or $value > 0); 
    363363 
    364364                my $column = $numbar;