Skip to content
This repository has been archived by the owner on Nov 22, 2022. It is now read-only.

filter options for the volunteeers #10

Closed
johnsmithm opened this issue Apr 1, 2020 · 1 comment
Closed

filter options for the volunteeers #10

johnsmithm opened this issue Apr 1, 2020 · 1 comment
Assignees

Comments

@johnsmithm
Copy link

johnsmithm commented Apr 1, 2020

format api api/volunteer/filters/page/items-per-page?key_fied=value, eg. /filters/1/1000?phone=10000002

  • it return a dict {lists:[],count:44} , count is the total number of found items in db, length of list is smaller or equat to items-per-page.

  • in order to sort by interval(smaller/bgger than) use termination __gte, __ste, eg. availability__gte=4

@johnsmithm
Copy link
Author

list filter items for volunteer: name, phone, is_active, sector, has_telegram, offer, new volunteer

@tudormd tudormd self-assigned this Apr 6, 2020
wanoo21 added a commit that referenced this issue Apr 6, 2020
filter options for the volunteeers #10 , Resolve cervesation
@wanoo21 wanoo21 closed this as completed Apr 9, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants