chiark / gitweb /
routesearch: prettify the search page and results; sort arrows; etc.
[ypp-sc-tools.main.git] / yarrg / web / lookup
index 93e44d4455df1cb89043dca178c22525c4239095..15f341adc3cf8131fc41ae91b8ebd16abc450af2 100755 (executable)
@@ -159,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 |
@@ -248,7 +248,7 @@ $debug => 0
 <hr>
 
 <& "query_$styles{Query}", %baseqf, %queryqf, %styles,
-    quri => $quri, dbh => $dbh,
+    quri => $quri, dbh => $dbh, queryqf => \%queryqf,
     prselector => $prselector,
     someresults => $someresults,
     emsgokorprint => sub {