Refactor Detail page to use Destruction List Items endpoint instead of zaken
SilviaAmAm opened this issue · comments
At the moment the detail page of a destruction list uses the endpoint /zaken?destruction_list=<uuid>
to retrieve the cases in a destruction list.
However, once we start deleting the cases, this don't exist anymore.
Instead, we should use the destruction list items endpoint.
TODO
Backend
- Make the destruction list item endpoint paginated
- Make it possible to filter on destruction list and order on processing status https://github.com/maykinmedia/open-archiefbeheer/pull/268/files
- Expand the details of a zaak (if the zaak exists) #271
Frontend
- Fix problems generated by the changes in the backend