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

未关闭
#5,522 1 条评论 0 个 reaction 已指派 1 人 在 GitHub 查看

维护者通常 1 天内回复

@atarix83 已经在做这个了。

开始于 2026年4月23日。

评估

这个 Issue 还没有评估数据。

描述

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

主要语言
TypeScript
星标
180
派生
577
平均合并
1 天 23 小时
30 天内合并 PR
95

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

DSpace/dspace-angular 的其他 Issue

查看 DSpace/dspace-angular 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。