diff --git a/lib/Travel/Status/DE/HAFAS.pm b/lib/Travel/Status/DE/HAFAS.pm index 23aba6e08cee00fa94f93eba1399aea3772fa946..8da83ebfe7a90d487f85d84dfffda66eb2c6a8af 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', }, }