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

Feature Request: Filter drives and charges by dates #149

Open
leonelfaugusto opened this issue Feb 10, 2022 · 5 comments
Open

Feature Request: Filter drives and charges by dates #149

leonelfaugusto opened this issue Feb 10, 2022 · 5 comments
Labels
enhancement New feature or request

Comments

@leonelfaugusto
Copy link

First of all thanks and nice work you have here :)

My resquest is all about filter drives and charges by date.

Now we can add ?page=2&show=10 to the request for pagination, but sometimes I need filter by date, with a startDate and endDate.

For now to do that I request all drives or charges and then filter myself on frontend, but this is not very efficient, especially when database is huge.

You can add defaults like in page and show, something like ?startDate last 5 years since now and ?endDate now.

Thanks in advance.

@alecdoconnor
Copy link
Contributor

I was thinking to myself just yesterday how useful this would be!

@tobiasehlert
Copy link
Owner

hi @leonelfaugusto and @alecdoconnor,

nice suggestion for adding pagination!
definitely something that we should have.. the JSON here at home starts to grow rapidly in size as well 😛

@tobiasehlert tobiasehlert added the enhancement New feature or request label Feb 10, 2022
@leonelfaugusto
Copy link
Author

hi @leonelfaugusto and @alecdoconnor,

nice suggestion for adding pagination! definitely something that we should have.. the JSON here at home starts to grow rapidly in size as well 😛

Hi @tobiasehlert thanks for the answer. Pagination we already have. The suggestion is filter by date. 😃

@tobiasehlert
Copy link
Owner

hi @leonelfaugusto and @alecdoconnor,
nice suggestion for adding pagination! definitely something that we should have.. the JSON here at home starts to grow rapidly in size as well 😛

Hi @tobiasehlert thanks for the answer. Pagination we already have. The suggestion is filter by date. 😃

Ah okey.. yes that would be nice as well!
I forgot it already has pagination.. maybe I should start using that myself 🤣

@theskyisthelimit
Copy link

Would it also be possible to display the monthly costs? I am currently looking for a way to access this data and use it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants