Bug 28909: Fix handling if backend doesn't support
If a backend hasn't been updated to support this functionality, we need to handle that gracefully Also, this commit fixes some indentation. Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
80e179edd7
commit
4e516da529
2 changed files with 5 additions and 3 deletions
|
@ -722,9 +722,9 @@ sub backend_illview {
|
|||
my ( $self, $params ) = @_;
|
||||
|
||||
my $response = $self->_backend_capability('illview',{
|
||||
request => $self,
|
||||
other => $params,
|
||||
});
|
||||
request => $self,
|
||||
other => $params,
|
||||
});
|
||||
return $self->expandTemplate($response) if $response;
|
||||
return $response;
|
||||
}
|
||||
|
|
|
@ -484,7 +484,9 @@
|
|||
</div>
|
||||
|
||||
[% ELSIF query_type == 'illview' %]
|
||||
[% IF whole.template.length > 0 %]
|
||||
[% PROCESS $whole.template %]
|
||||
[% END %]
|
||||
[% req_status = request.status %]
|
||||
|
||||
[% IF error %]
|
||||
|
|
Loading…
Reference in a new issue