ClockGU / ClockGU/clock-backend

Admin interface - Filtering tables

Open
#362 1 comment 0 reactions 1 assignee Claimed by @zakriya057 View on GitHub
Dominant language
Python
Stars
0
Forks
4
PR merge metrics
No merged PRs in 30d

Description

So far the only admin view that has a filter is the on for the `User` model.

It would be helpful for working on support cases to be able to filter in views for `Contract`, `Shift` and also `Report`.

- [x] in the view for `Contract` filter by:
- [x] `user` (id)
- [x] `start_date` (format: DD-MM-YYYY)
- [x] `end_date` (format: DD-MM-YYYY)
- [ ] in the view for `Shift` filter by:
- [x] `user` (id)
- [x] `contract` (id)
- [ ] Questionable: Some kind of filter concernign the dates of shift. It would be usefull to filter for shifts in a given Interval like `filter_start` <= `started.date` <= `filter_end`
- [x] in the view for `Report` filter by:
- [x] `user` (id)
- [x] `contract` (id)
- [x] `month_year` (format: DD-MM-YYYY)

- [ ]

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.