X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~yarrgweb/git?a=blobdiff_plain;f=yarrg%2Fweb%2Flookup;h=cfffd146af3548c87efcccde44ea0b2db3090c8a;hb=3f99b04acd8cf6080069b542206f9f3de049f58a;hp=0b6466e3f6a4fc53a61fc4202643fddc67f3b438;hpb=608bc9e07b5c8a961325fd1b8d5b92f65418b949;p=ypp-sc-tools.web-live.git diff --git a/yarrg/web/lookup b/yarrg/web/lookup index 0b6466e..cfffd14 100755 --- a/yarrg/web/lookup +++ b/yarrg/web/lookup @@ -66,6 +66,18 @@ my %styles; [ 'sell', 'Sell offers only' ], ], QuerySpecific => 1, + }, { Name => 'ShowBlank', + Before => '', + Values => [ [ 0, 'Omit islands with no offers' ], + [ 'show', 'Show all islands' ], + ], + QuerySpecific => 1, + }, { Name => 'ShowStalls', + Before => '', + Values => [ [ 0, 'Show amount at each price' ], + [ 1, 'Show individual stalls' ], + ], + QuerySpecific => 1, }); foreach my $var (@vars) { @@ -123,7 +135,12 @@ foreach my $var (@vars) { foreach my $var (keys %ARGS) { next unless $var =~ - m/^(?:(?:route|commod)string|islandid\d|archipelago\d|debug)$/; + m/^(?: (?:route|commod)string | + islandid \d | + archipelago \d | + debug | + [RT]\w+ + )$/x; my $val= $ARGS{$var}; next if $val eq 'none'; $queryqf{$var}= $val;