Skip to content
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

NMRL-171 Priority not showing on Analysis Request listing #230

Merged
merged 6 commits into from
Aug 28, 2017

Conversation

xispa
Copy link
Member

@xispa xispa commented Aug 28, 2017

Priorities as an ATContentType were removed some time ago because of performance leaks. With this Pull Request, Priority field is reintroduced for Analysis Requests, but as an StringField populated with a pre-defined set of priorities: Lowest, Low, Medium, High, Highest. The default priority is "Medium".

The Priority field is displayed as the first column in lists and is sortable in such a way that when sorted ASC and 2 analysis requests have the same priority, but they were created at different dates, the oldest appears first. When sorted DESC, items with lowest priority are displayed first and, by following the same rule, newer are displayed first.

Screenshots

Priority column in Analysis Requests (not sorted, by default):

priority1

Priority column in Analysis Requests (sorted ASC):

priority2

Priority field in Analysis Request's Edit view:

priority3

Priority field in Analysis Request's Add view:

priority4

@xispa xispa requested a review from Espurna August 28, 2017 09:06
@Espurna Espurna merged commit 5aed8a2 into wip Aug 28, 2017
@xispa xispa deleted the NMRL-171-priority-missing branch August 28, 2017 10:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants