Actions
Bug #12765
closedInconsistent rule ordering in the UI
Difficulty:
Triaged:
Description
We order rules by priority (ascending):
but in the UI page we list them in descending order. This can be confusing. We should correct our docs and be more explicit too.
Updated by Lukas Zapletal over 8 years ago
- Related to Bug #13217: Discovery Rules order by name, not priority added
Updated by Lukas Zapletal over 8 years ago
The description is incorrect. We DO sort them in ascending order in the UI, that's correct behavior.
But we should also sort by created_at for those with same priority. I currently don't know how to implement this with Scoped Search as it only accepts one sort column: resource_base.search_for(params[:search], :order => (params[:order] || 'priority ASC'))
Updated by The Foreman Bot over 8 years ago
- Status changed from New to Ready For Testing
- Assignee set to Lukas Zapletal
- Pull request https://github.com/theforeman/foreman_discovery/pull/255 added
Updated by Anonymous over 8 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset foreman_discovery|730006cabe7efaf0893882886b796f94ff28a80c.
Actions