chiark / gitweb /
Uncomment minprofit in route search (!)
[ypp-sc-tools.db-live.git] / yarrg / web / lookup
index fd66f1a7b8ae8c3b1617b255a8309a244370407d..15c52067f45cfeb40d090a8c86e63903f9d83ff2 100755 (executable)
@@ -87,6 +87,7 @@ my %styles;
                Before => 'Type of routes to search for: ',
                Values => [     [ 0, 'Open-ended' ],
                                [ 1, 'Circular' ],
+                               [ 2, 'Specific destination' ],
                        ],
                QuerySpecific => 1,
        });
@@ -165,7 +166,8 @@ foreach my $var (@vars) {
 
 foreach my $var (keys %ARGS) {
        next unless $var =~
-               m/^(?: (?:route|commod|capacity|capital|island)string |
+               m/^(?: (?:route|commod|capacity|capital|minprofit
+                        |island|dest)string |
                        lossperleague | distance |
                        commodid |
                        islandid \d |