summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDerf Null <derf@finalrewind.org>2023-04-10 21:43:11 +0200
committerDerf Null <derf@finalrewind.org>2023-04-10 21:43:11 +0200
commit72bc43a9e4e010020e94a701648ba51dc8d580ed (patch)
tree13c7b7d47d50743a0a8a323f951736fbbda62f68 /lib
parent2542ed41c818ba1cd1e000bc4b5c133972507aea (diff)
geoSearch, locationSearch: respect #results parameter
Diffstat (limited to 'lib')
-rw-r--r--lib/Travel/Status/DE/HAFAS.pm4
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',
},
}