Skip to content

deposit-admin: Filtering out deposits matching an excluding pattern

The matching is done on all columns values.

Note: The deposit listing api is now also able to exclude directly with a pattern exclude parameter. Although, to leverage this on web-app side, I fear that we would need to change the ajax parameter from GET to POST to be able to dynamically alter query parameter. From my understanding of the documentation, it seems we can't do that with get. That's the reason why the filtering is done client side when the server sends the result.

Related to #2406 (closed)

Replace !321 (closed) (got closed, that other diff is now the supplementary commit to improve on existing test)

Test Plan

workon swh
cd swh-web
make test-frontend-ui  # click on deposit-admin.spec.js, and look at cypress controlling chromium and asserting stuff work...

Migrated from D3176 (view on Phabricator)

Merge request reports