[Koha-bugs] [Bug 11213] New: GetItemsInfo() called twice

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Nov 7 08:32:36 CET 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11213

            Bug ID: 11213
           Summary: GetItemsInfo() called twice
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: OPAC
          Assignee: oleonard at myacpl.org
          Reporter: srdjan at catalyst.net.nz
        QA Contact: testopia at bugs.koha-community.org

Details pages opac/opac-detail.pl and catalogue/detail.pl call GetItemsInfo()
on their own after it being called from XSLTParse4Display() (if
OPACXSLTDetailsDisplay syspref and/or XSLTDetailsDisplay are set). That imposes
severe performance penalty for biblio records with large number of items.

The right way would be to pass the list to XSLTParse4Display(), however that
interface is very complex as is. An alternative is to return the list from
XSLTParse4Display(), which is not elegant at all.

If no one cries foul in the next 24 hours, I'll proceed with changing the
interface.

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


More information about the Koha-bugs mailing list