boston-library / commonwealth-vlr-engine

Commonwealth-VLR-Engine is a Rails engine for creating Blacklight apps that provide access to content from Solr/Fedora, packaging a number of feature-rich enhancements and modifications.
Apache License 2.0
8 stars 2 forks source link

show item count in Collections list #114

Open ebenenglish opened 10 months ago

ebenenglish commented 10 months ago

When I am on the Collections list page (collections#index) or the Collection detail page (collections#show) There should be an indication of the number of items in each collection So I can quickly see how many items are in each collection.

COMMENTS We'd probably need to create a Solr field to hold this data (see https://github.com/boston-library/curator/issues/333), or else you'd have to do a separate Solr query for each object in the collections#index list, which could slow down the page load. Alternately, the item count could be updated via an AJAX query so the page load isn't slowed down.