diff options
author | Derf Null <derf@finalrewind.org> | 2023-04-10 21:43:11 +0200 |
---|---|---|
committer | Derf Null <derf@finalrewind.org> | 2023-04-10 21:43:11 +0200 |
commit | 72bc43a9e4e010020e94a701648ba51dc8d580ed (patch) | |
tree | 13c7b7d47d50743a0a8a323f951736fbbda62f68 /lib/Travel/Status | |
parent | 2542ed41c818ba1cd1e000bc4b5c133972507aea (diff) |
geoSearch, locationSearch: respect #results parameter
Diffstat (limited to 'lib/Travel/Status')
-rw-r--r-- | lib/Travel/Status/DE/HAFAS.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Travel/Status/DE/HAFAS.pm b/lib/Travel/Status/DE/HAFAS.pm index 23aba6e..8da83eb 100644 --- a/lib/Travel/Status/DE/HAFAS.pm +++ b/lib/Travel/Status/DE/HAFAS.pm @@ -270,7 +270,7 @@ sub new { ], getPOIs => \0, getStops => \1, - maxLoc => 10, + maxLoc => $conf{results} // 30, } } ], @@ -289,7 +289,7 @@ sub new { type => 'S', name => $conf{locationSearch}, }, - maxLoc => 10, + maxLoc => $conf{results} // 30, field => 'S', }, } |