-
-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
filter function on the history page does not work #925
Comments
Transferred to st2web repo as this is a UI issue. |
I have not seen this problem before, but I will re-do an installation today.
|
@csecsi If you could check the above that would be great. I performed a fresh install, and the filter on the UI is working fine for me on the history. |
Apologies - I was thinking you were talking about the pull-downs on the History page, whereby you can filter on Action etc. I have the same behaviour if I use the free-form Filter, but I don't tend to use that. So I am not sure if that is due to format of the query or not at this stage. |
Weird that there is nothing logged when used. |
I see this behavior with:
|
Is there any plan on fixing this? It has been around for a while and we are trying to figure out if there is a workaround. Ideally having a way of searching values in the action inputs would be handy (looking for hostnames, ticket ID, etc) |
looks like it is just you and me would need that feature working. :) |
Not true, but it's possible that companies are creating their own UIs or their own modifications to this UI, which then becomes company intellectual property. For example, I've added a time range filter, a filter for a specific execution ID (text input) and changed how the filter behaves by adding a "filter" button and now instead of there being an API call done whenever I'd change one of the values, I change the values and then click "filter" to filter executions. |
I don't think this is currently possible, because the API doesn't support searching by parameters, as far as I know. And the UI is just a component on top of the API. Action parameters can be complex objects and are not searchable. It is best if you create some sort of action reporting, like add action results into a SQL DB and then you can look up the execution by the parameters you want and look up a specific execution ID in ST2. Perhaps the filtering functionality that currently doesn't work could be used to fine-grain filter the results after they've been fetched, so you could first drop down select a specific action and then free-text filter parameters, as they've already been fetched. |
SUMMARY
the filter function on the history page does not do anything
STACKSTORM VERSION
st2 3.6.0, on Python 3.6.8
OS, environment, install method
Centos 8 / ansible-st2
Steps to reproduce the problem
just try to filter the history
Expected Results
filtering the history
Actual Results
not filtering the history
Thanks!
The text was updated successfully, but these errors were encountered: