X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~yarrgweb/git?a=blobdiff_plain;f=yarrg%2Fweb%2Flookup;h=15f341adc3cf8131fc41ae91b8ebd16abc450af2;hb=b003b70daab49984677a1cfadced9da9ee9be19a;hp=7af431cee119f6e163439b83a08fcf84b6b8eedd;hpb=872e647cac241531e4599c8b8b330d8772020253;p=ypp-sc-tools.db-live.git diff --git a/yarrg/web/lookup b/yarrg/web/lookup index 7af431c..15f341a 100755 --- a/yarrg/web/lookup +++ b/yarrg/web/lookup @@ -58,6 +58,7 @@ my %styles; Values => [ [ 'route', 'Trades for route' ], [ 'commod', 'Prices for commodity' ], [ 'offers', 'Offers at location' ], + [ 'routesearch', 'Find profitable route' ], [ 'age', 'Data age' ] ] }, { Name => 'BuySell', Before => '', @@ -158,8 +159,8 @@ foreach my $var (@vars) { foreach my $var (keys %ARGS) { next unless $var =~ - m/^(?: (?:route|commod|capacity|capital)string | - lossperleague | + m/^(?: (?:route|commod|capacity|capital|island)string | + lossperleague | distance | commodid | islandid \d | archipelago \d | @@ -247,7 +248,7 @@ $debug => 0
<& "query_$styles{Query}", %baseqf, %queryqf, %styles, - quri => $quri, dbh => $dbh, + quri => $quri, dbh => $dbh, queryqf => \%queryqf, prselector => $prselector, someresults => $someresults, emsgokorprint => sub {