action #53168
Updated by okurz about 5 years ago
## Motivation
openQA has this nice feature to "show only failures" which many people do not know. Sharing a link with "show only failures" is not easily possible because clicking the checkbox does not change the address in the browser. Would be nice if it did :)
## Acceptance criteria
* **AC1:** The adress bar of a browser is updated with a query parameter for "Show only failures" from a tests details page
* **AC2:** A URL to tests details with a query parameter for "Show only failures" enabled also enables the option to only show failures
## Suggestions
* Understand how the checkbox on the page is controlled in https://github.com/os-autoinst/openQA/blob/df841464ef97659c5caa41b1598e00ceeab6ecec/templates/test/details.html.ep#L14 and the corresponding javascript code https://github.com/os-autoinst/openQA/blob/ea7f72d9a3548feb1c0687ae203f40cfde2d0c89/assets/javascripts/test_result.js#L460
* Apply a similar mechanisms as for the selected tab to add the query parameter for "Show only failures" when enabled
* Ensure the parameter is read out when the route to job details is followed