[Testathon] Community/Collection item counts and author facets not updated after deletion

Open
#5,522 1 comment 0 reactions 1 assignee View on GitHub

Maintainers usually reply within 1 day

@atarix83 is already working on this.

Since Apr 23, 2026.

Assessment

This issue has not been assessed yet.

Description

affects: 10.x affects: main bug claimed: 4Science component: Collection component: Community ux

Describe the bug

During testing T081, this bug was discovered.
Counts in Community List are not updated after deleting an item or a collection (including all its items).

Image

Similarly, the Author facet in browse/search retains entries from deleted items even though clicking them returns no results.

Image

To Reproduce

Steps to reproduce the behavior:

  1. Navigate to an existing sub-community (or create one).
  2. Create a new collection inside it.
  3. Create at least one item in that collection with an author.
Image
  1. Delete the collection (which also removes its items).
  2. Navigate to the Community List and observe the sub-community badge, it still shows the old count instead of 0.

Expected behavior

After deleting a collection and all of its items, the parent community/sub-community badge count should update to reflect the correct number of remaining items/collections.

Related

Possible relevant change: Batch deletion process introduced in 10 https://github.com/DSpace/dspace-angular/pull/4570

Dominant language
TypeScript
Stars
180
Forks
577
Avg merge
2d 1h
Merged PRs (30d)
100

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from DSpace/dspace-angular

All issues in DSpace/dspace-angular

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.