Bug 1131095
Summary: | [RFE] Unable to sort tasks on state or result | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Peter Vreman <peter.vreman> | ||||||||
Component: | Infrastructure | Assignee: | Ondřej Pražák <oprazak> | ||||||||
Status: | CLOSED ERRATA | QA Contact: | Og Maciel <omaciel> | ||||||||
Severity: | high | Docs Contact: | David O'Brien <daobrien> | ||||||||
Priority: | unspecified | ||||||||||
Version: | 6.0.3 | CC: | bbuckingham, bkearney, chpeters, cwelton, dcleal, inecas, mmccune, omaciel, oprazak, peter.vreman, tkolhar, xdmoon | ||||||||
Target Milestone: | Unspecified | Keywords: | FutureFeature, Triaged | ||||||||
Target Release: | Unused | ||||||||||
Hardware: | Unspecified | ||||||||||
OS: | Unspecified | ||||||||||
Whiteboard: | |||||||||||
Fixed In Version: | Doc Type: | Enhancement | |||||||||
Doc Text: | Story Points: | --- | |||||||||
Clone Of: | Environment: | ||||||||||
Last Closed: | 2015-10-15 18:19:48 UTC | Type: | Bug | ||||||||
Regression: | --- | Mount Type: | --- | ||||||||
Documentation: | --- | CRM: | |||||||||
Verified Versions: | Category: | --- | |||||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||||
Embargoed: | |||||||||||
Bug Depends On: | |||||||||||
Bug Blocks: | 1122832 | ||||||||||
Attachments: |
|
Description
Peter Vreman
2014-08-18 13:04:20 UTC
Since this issue was entered in Red Hat Bugzilla, the release flag has been set to ? to ensure that it is properly evaluated for this release. I don't think the sorting is the right answer for fixing the issue, but rather predefined filters on the state/result. The issue with sorting is, what sorting should be used (and the fact, that the paused is before running and stopped is just a happy coincidence, not talking about the situation, that one would use other locatization. So, I'm suggesting to have the predefined filters there to filter the paused tasks and then combining with https://bugzilla.redhat.com/show_bug.cgi?id=1201660 to resume it. Proposed fix for adding bookmarks merged https://github.com/theforeman/foreman-tasks/pull/133 I can confirm that filters on tasks work fine. Additional i have a filter "Last 24h" to limit the output: 'started_at > "24 hours ago"'. Maybe that can be also be added to the default bookmarks. The PR has been already merged, please submit a feature request for any additional bookmarks. Hi, please provide verification steps thanks Thanks and Regards, Tazim 1. Default Satellite installation 2. Start some background tasks, e.g. Repo Syncs 3. Goto Tasks 4a. Able to easily Filter Tasks on running tasks using a Bookmark 4b. Able to easily Filter Tasks on paused tasks using a Bookmark 4c. Able to easily Filter Tasks started in the last 24 hours using a Bookmark Created attachment 1080019 [details]
Running tasks
Screenshot shows the bookmarked results for running tasks
Created attachment 1080020 [details]
Failed tasks
Screenshot shows the results from the Failed tasks bookmarked search
Created attachment 1080021 [details]
Custom bookmarked search
Screenshot shows the results from a custom bookmarked search returning state = stopped and result = success search
Verified on the latest Satellite-6.1.0-RHEL-7-20151002.0 compose You can now use pre-defined bookmarked searches to find failed or running tasks, as well as create your own. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2015:1911 |