summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changelog1
-rw-r--r--lib/Travel/Status/DE/IRIS/Result.pm2
2 files changed, 2 insertions, 1 deletions
diff --git a/Changelog b/Changelog
index 377b91a..0b88685 100644
--- a/Changelog
+++ b/Changelog
@@ -1,6 +1,7 @@
git HEAD
* IRIS->new: Fix default lwp_options value (was documented, but not used)
+ * Result->route_interesting: Also consider airports
Travel::Status::DE::IRIS 1.00 - Fri May 01 2015
diff --git a/lib/Travel/Status/DE/IRIS/Result.pm b/lib/Travel/Status/DE/IRIS/Result.pm
index 7998a1f..390b3c4 100644
--- a/lib/Travel/Status/DE/IRIS/Result.pm
+++ b/lib/Travel/Status/DE/IRIS/Result.pm
@@ -633,7 +633,7 @@ sub route_interesting {
$max_parts //= 3;
for my $stop (@via) {
- if ( $stop =~ m{ ?Hbf}o ) {
+ if ( $stop =~ m{ Hbf | Flughafen }ox ) {
push( @via_main, $stop );
}
}