Hi Lia,

Thanks for your response and confirming the behaviour - we appreciate the
quick response!

Julia

On Thu, Sep 17, 2026 at 3:33 PM DSpace Technical Support <
[email protected]> wrote:

> Hello Julia,
>
> As far as I can tell, I think that's true that the default behavior for
> those item counts is to include all archived items,  including those with
> access restrictions.
> Based on this query
> <https://github.com/DSpace/DSpace/blob/main/dspace-api/src/main/java/org/dspace/content/dao/impl/ItemDAOImpl.java#L466>
> that the item counts draw from and this update
> <https://github.com/DSpace/DSpace/pull/9583#pullrequestreview-2078095036>
> to that logic, the default is to include all archived items with the
> exception of Withdrawn or Non-discoverable items, but authorization doesn't
> seem to be a part of that logic.
>
> If anyone is more familiar with this part of the codebase and the above is
> incorrect though, please let us know! Otherwise I can see how that may be
> confusing for users; if amending those counts based on access restriction
> is something you'd like to see implemented, feel free to submit a ticket
> and the community can look into whether that may be possible.
>
> Thanks! Best,
> Lia
>
>
> On Wednesday, September 16, 2026 at 2:55:34 PM UTC-4 [email protected]
> wrote:
>
>> Hello DSpace community,
>>
>> We would like to clarify the behaviour of the item counts on Community
>> and Collection pages, particularly for restricted/embargoed items. More
>> specifically, it has been brought to our attention that the item counts
>> that appear in the Communities & Collections page will show the total
>> items, including those that are fully restricted/embargoed (e.g., items
>> that should be visible to admin only). When clicking through to the
>> Collection results, the expected number of results appears, but the number
>> is higher on the Communities & Collections page. The Collections page
>> search results are correct (good as this means the restricted items are not
>> appearing to an unintended audience) but the number on the Collections
>> landing page is somewhat misleading.
>>
>> Example: when not logged in, Communities & Collections page shows 3 items
>> (including 1 that is fully restricted) but the Collections page shows 2
>> item results.
>> [image: Screenshot 2026-09-16 at 2.47.17 PM.png]
>>
>> We are curious if this discrepancy is a bug or simply how the
>> Community/Collection count badge works in DSpace - that is, it shows a
>> count of all published (archived) items in the badge, regardless of present
>> authorizations?
>>
>> Note: We also ran the index-discovery command manually for this
>> Collection but did not notice a change in the numbers after doing so.
>>
>> Thanks (and apologies if we missed this reported on either the DSpace or
>> DSpace-angular GitHubs!)
>>
>> Julia
>>
> --
> All messages to this mailing list should adhere to the Code of Conduct:
> https://lyrasis.org/code-of-conduct/
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "DSpace Technical Support" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/dspace-tech/5L_ERSCNqv0/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To view this discussion visit
> https://groups.google.com/d/msgid/dspace-tech/979ab9bc-bcb9-41e2-b849-0a6d2797dd36n%40googlegroups.com
> <https://groups.google.com/d/msgid/dspace-tech/979ab9bc-bcb9-41e2-b849-0a6d2797dd36n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://lyrasis.org/code-of-conduct/
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/dspace-tech/CAPmqMKQjz6UVE%2BFX9qh0hvZ0d%3DHw%3DbE44w4e1VDAqy7b-d7d_g%40mail.gmail.com.

Reply via email to