Skip to content
This repository has been archived by the owner on Sep 19, 2024. It is now read-only.

Sorting by Duration Field in Attendance Model #2

Closed
aswinshenoy opened this issue Jan 28, 2019 · 2 comments
Closed

Sorting by Duration Field in Attendance Model #2

aswinshenoy opened this issue Jan 28, 2019 · 2 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@aswinshenoy
Copy link
Contributor

Is your feature request related to a problem? Please describe.
The list of entries in the attendance model are not sortable by duration, neither are they filterable

Describe the solution you'd like
The duration field in the attendance model needs to be sortable like others.

Describe alternatives you've considered
Presently there is no way in the admin to sort attendance entries by duration.

Additional context
Currently, the list looks like this and doesn't have a sort filter for duration field in attendance model
image

@aswinshenoy aswinshenoy added the enhancement New feature or request label Jan 28, 2019
@aswinshenoy
Copy link
Contributor Author

This issue arises because duration field is a calculated field from session_start and session_end and not actually a model field.

@aswinshenoy aswinshenoy added the help wanted Extra attention is needed label Jan 28, 2019
@abhishekbvs
Copy link
Member

What all filters are needed for the duration field? Can u give the constraints according to the requirement?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants