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

Abierto
#5,522 1 comentario 0 reacciones 1 asignado Ver en GitHub

Los mantenedores suelen responder en 1 día

@atarix83 ya está trabajando en esto.

Desde el 23/4/2026.

Evaluación

Este issue todavía no se ha evaluado.

Descripción

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

Lenguaje dominante
TypeScript
Estrellas
180
Forks
577
Merge medio
2 d 1 h
PR fusionados (30 d)
100

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de DSpace/dspace-angular

Todos los issues de DSpace/dspace-angular

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.