Closed danipran closed 3 months ago
KERROKANTASI-API branch is deployed to platta: https://kerrokantasi-pr497.api.dev.hel.ninja :rocket::rocket::rocket:
KERROKANTASI-API branch is deployed to platta: https://kerrokantasi-pr497.api.dev.hel.ninja :rocket::rocket::rocket:
KERROKANTASI-API branch is deployed to platta: https://kerrokantasi-pr497.api.dev.hel.ninja :rocket::rocket::rocket:
Issues
1 New issue
0 Accepted issues
Measures
0 Security Hotspots
100.0% Coverage on New Code
0.0% Duplication on New Code
KERROKANTASI-API branch is deployed to platta: https://kerrokantasi-pr497.api.dev.hel.ninja :rocket::rocket::rocket:
Move the
HearingViewSet
filters infilter_queryset
underHearingFilterSet
instead and remove thefilter_queryset
override. Also removes an unused (= no requests using this parameter in the past 90 days and no references to it in kerrokantasi-ui)next_closing
filter which had a questionable implementation (returning a sliced queryset in the middle offilter_queryset
and skipping the rest of the filters isn't exactly expectedfilter_queryset
behaviour).If needed, can be replaced in the future by implementing a
close_at_gt
filter and using it with alimit=1
query parameter, e.g./v1/hearing/?close_at_gt=YYYY-MM-DD&limit=1
.