Certain holdings have hundreds of items and loading their permissions to display the buttons can be very long.
Loading the holdings detailed view is also quite slow, and displaying a specific item can be very difficult if it is down in the list (linked to https://github.com/rero/rero-ils/issues/3392).
How it works
Certain holdings have hundreds of items and loading their permissions to display the buttons can be very long.
Loading the holdings detailed view is also quite slow, and displaying a specific item can be very difficult if it is down in the list (linked to https://github.com/rero/rero-ils/issues/3392).
Examples: This document (https://bib.rero.ch/professional/records/documents/detail/207507) has a holdings with 500+ items, the document detailed view can take more than a minute to fully load because of the API requests for permissions to display the buttons (delete, edit, etc.). This request alone (https://bib.rero.ch/api/permissions/holdings/348979?current_library=23) takes more than 30 seconds.
Improvement suggestion