[PATCH] Don't break on invalid queries
|Reported by:||matthijs||Owned by:||obs|
When filtering report results, there might be no results (for example when the query is invalid). Instead, an error message is shown.
Currently, bmtt breaks the page by throwing an exception, preventing the real error message from being shown and confusing the user.
The attached patch makes bmtt check for the presence of the "numrows" value in the "report_views.html" view. If it is not present, nothing is changed.