ucd-library / dams

The UC Davis DAMS built on top of FIN
MIT License
0 stars 0 forks source link

[UX/UI] Collection Numbers don't match item count #215

Closed qjhart closed 3 weeks ago

qjhart commented 3 weeks ago

Describe the bug The total number of items in a collection doesn't match what you see when visiting the collection in some cases.

image image

UcDust commented 3 weeks ago

@qjhart @jrmerz

I'm closing this issue. It seems reindexing the collections fixed the issue. The itemCount (pretty sure) is part of the collection transform, and I'm guessing there was some race condition or something where the collection indexing finished before all the items were indexed. I reindexed the 3 collections that had this issue and things look good now.

The affected collections were: https://dev.dams.library.ucdavis.edu/collection/ark:/13030/c8154mgs https://dev.dams.library.ucdavis.edu/collection/ark:/87287/d79c7b https://dev.dams.library.ucdavis.edu/collection/ark:/87293/d3f766f0g