chiark
/
gitweb
/
~yarrgweb
/
ypp-sc-tools.db-live.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cope with unknown vessels by turning them unto zz vcunk
[ypp-sc-tools.db-live.git]
/
yarrg
/
web
/
lookup
diff --git
a/yarrg/web/lookup
b/yarrg/web/lookup
index fd66f1a7b8ae8c3b1617b255a8309a244370407d..15c52067f45cfeb40d090a8c86e63903f9d83ff2 100755
(executable)
--- a/
yarrg/web/lookup
+++ b/
yarrg/web/lookup
@@
-87,6
+87,7
@@
my %styles;
Before => 'Type of routes to search for: ',
Values => [ [ 0, 'Open-ended' ],
[ 1, 'Circular' ],
Before => 'Type of routes to search for: ',
Values => [ [ 0, 'Open-ended' ],
[ 1, 'Circular' ],
+ [ 2, 'Specific destination' ],
],
QuerySpecific => 1,
});
],
QuerySpecific => 1,
});
@@
-165,7
+166,8
@@
foreach my $var (@vars) {
foreach my $var (keys %ARGS) {
next unless $var =~
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 |
lossperleague | distance |
commodid |
islandid \d |