-
-
Notifications
You must be signed in to change notification settings - Fork 245
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
Date filters for short urls list endpoint #572
Conversation
Cool! This will be really useful 😁 However, some changes are needed:
Of course, you can choose not to do any of those points, just do some of them, or do everything. I leave it up to you. I will finish what's missing 😀 And thanks again for the contribution! |
module/Core/src/Paginator/Adapter/ShortUrlRepositoryAdapter.php
Outdated
Show resolved
Hide resolved
Thanks for the feedback @acelaya, I'll see how much of this I can do and will let you know about any updates. |
Hi @acelaya, I have applied all requests but the tests, if that's ok I'll leave the tests to you. Please let me know about any comments, |
Amazing! Thanks for the hard work :) If I remember correctly, github should allow me to push commits to your fork's branch, but if not, I will fork your fork :) I will try to do it in the next days, in order to include this in v1.21 |
Sounds great, thanks to you for this great URL shortener @acelaya! |
Confirmed. Github lets me push to your fork. And build is back at green :) |
…ShortUrlRepository
…h date ranges are provided
Just added all unit/database/api tests and fixed a couple of issues found in the process. Tomorrow I will add support for these two new arguments to be passed to the |
That's amazing, thanks! |
@alesub everything is ready now. You can review it if you want, but I'll probably merge it as soon as builds pass. |
I will also start working on shlink-web-client v2.3 after finishing shlink's v1.21 milestone, which will include controls to filter short URLs list by date, making use of this new implementation 😃 |
Amazing! Thanks!! |
These are new filters for the
GET /rest/v1/short-urls
endpoint.startDate
andendDate
are added as parameters to limit the results. It is useful to build reports on applications where the service has been running for several months.Closes #575