chiark
/
gitweb
/
~yarrgweb
/
ypp-sc-tools.db-test.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
routesearch: support circular routes
[ypp-sc-tools.db-test.git]
/
yarrg
/
web
/
lookup
diff --git
a/yarrg/web/lookup
b/yarrg/web/lookup
index 15f341adc3cf8131fc41ae91b8ebd16abc450af2..2f67760c487d6f1281b37bcb819ca6a7b2dd3d01 100755
(executable)
--- a/
yarrg/web/lookup
+++ b/
yarrg/web/lookup
@@
-80,6
+80,12
@@
my %styles;
[ 1, 'Show individual stalls' ],
],
QuerySpecific => 1,
[ 1, 'Show individual stalls' ],
],
QuerySpecific => 1,
+ }, { Name => 'RouteSearchType',
+ Before => 'Type of routes to search for: ',
+ Values => [ [ 0, 'Open-ended' ],
+ [ 1, 'Circular' ],
+ ],
+ QuerySpecific => 1,
});
foreach my $var (@vars) {
});
foreach my $var (@vars) {
@@
-248,7
+254,7
@@
$debug => 0
<hr>
<& "query_$styles{Query}", %baseqf, %queryqf, %styles,
<hr>
<& "query_$styles{Query}", %baseqf, %queryqf, %styles,
- quri => $quri, dbh => $dbh, queryqf => \%queryqf,
+ quri => $quri, dbh => $dbh, queryqf => \%queryqf,
allargs => \%ARGS,
prselector => $prselector,
someresults => $someresults,
emsgokorprint => sub {
prselector => $prselector,
someresults => $someresults,
emsgokorprint => sub {