[Koha-bugs] [Bug 28709] New: Fetching biblio objects for custom covers is innefficient

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jul 13 20:26:17 CEST 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28709

            Bug ID: 28709
           Summary: Fetching biblio objects for custom covers is
                    innefficient
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Searching
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: nick at bywatersolutions.com
        QA Contact: testopia at bugs.koha-community.org

Bug 22445 added the ability to define custom cover image urls using info from
the bibliographic record

The method custom_cover_image_url is part of Koha::Biblio

To use the method the search results now fetch the Biblio object in individual
calls in the results loop.

If the method is refactored to allow passing parameters we can use the values
already calculated in the subroutine to generate the URL and pass only the URL
to the templates

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list