diff options
author | Daniel Friesel <derf@finalrewind.org> | 2016-10-05 20:14:25 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2016-10-05 20:14:25 +0200 |
commit | f25e38c3dee72c038f4c314f073e9db25ec5b8ad (patch) | |
tree | e6b9a0cc06c9c256b61878888b65f0ff2126404f /index.pl | |
parent | a1db5b626ff8a23c6c0e1c47b793774f6fb499bc (diff) |
query all related stations by default1.09
* we've got better caching now
* as a consequence: parameter change recursive |-> !no_recursive
Diffstat (limited to 'index.pl')
-rw-r--r-- | index.pl | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -316,9 +316,9 @@ sub handle_request { my $show_realtime = $self->param('show_realtime') // 0; my $backend = $self->param('backend') // 'iris'; my $admode = $self->param('admode') // 'deparr'; - my $with_related = $self->param('recursive') // 0; - my $callback = $self->param('callback'); my $apiver = $self->param('version') // 0; + my $callback = $self->param('callback'); + my $with_related = !$self->param('no_related'); my @train_types = split( /,/, $self->param('train_types') // q{} ); my %opt; |