X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~yarrgweb/git?p=ypp-sc-tools.db-live.git;a=blobdiff_plain;f=yarrg%2Fweb%2Fquery_routesearch;h=587a2b6dc9df0a47c1e8f55192a8f2d96123bb43;hp=6f051351ca2f981bf677f2bd2fa4394f78a81459;hb=01422903688c153437cf6368a58fde42b3125efd;hpb=e3813d798c9693e094606d1f4021ac19cc3b67fa diff --git a/yarrg/web/query_routesearch b/yarrg/web/query_routesearch index 6f05135..587a2b6 100644 --- a/yarrg/web/query_routesearch +++ b/yarrg/web/query_routesearch @@ -131,6 +131,7 @@ foreach my $k (qw(MaxMass MaxVolume MaxCapital)) { } push @rsargs, defined $routeparams->{LossPerLeaguePct} ? $routeparams->{LossPerLeaguePct}*0.01 : 1e-9; +push @rsargs, '0'; push @rsargs, 'search',$maxdist, $maxcountea,$maxcountea, 'any', @islandids; m/[^-.0-9a-zA-Z]/ and die "$_ $& ?" foreach @rsargs;