In this branch, open-ils.actor.carousel.get_contents uses container.biblio_record_entry_bucket_item as the core table, and we also use reporter.materialized_simple_record instead of metabib.flat_display_entry to retrieve author and title information. This resolves the performance problem reported above.
Working branch user/jeffdavis/ lp2009891- carousel- api-additions- 2 has a revised fix (top 3 commits):
https:/ /git.evergreen- ils.org/ ?p=working/ Evergreen. git;a=shortlog; h=refs/ heads/user/ jeffdavis/ lp2009891- carousel- api-additions- 2
In this branch, open-ils. actor.carousel. get_contents uses container. biblio_ record_ entry_bucket_ item as the core table, and we also use reporter. materialized_ simple_ record instead of metabib. flat_display_ entry to retrieve author and title information. This resolves the performance problem reported above.