[Koha-bugs] [Bug 28375] Inefficiencies in fetching COinS

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Sep 28 13:12:50 CEST 2022


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

David Nind <david at davidnind.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #140955|0                           |1
        is obsolete|                            |

--- Comment #7 from David Nind <david at davidnind.com> ---
Created attachment 141051
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=141051&action=edit
Bug 28375: Inefficiencies in fetching COinS

This patchset adds an 'interface' parameter to XSLTParseForDisplay to avoid
fetching
coins when not needed

Additionally we move some logic from the scripts to searchResults to avoid an
extra fetch fo the biblio object

To test:
1 - Enable  COinSinOPACResults syspref
2 - Also enable  OPACShowOpenURL  and  OPACOpenURLItemTypes  - adding an
itemtype that you can find
3 - Perform a search on the OPAC and confirm coins are included and openurl
shown
4 - Perform a search on staff client and confirm openurls do not show
5 - Apply patch
6 - Results should be the same

Signed-off-by: David Nind <david at davidnind.com>

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


More information about the Koha-bugs mailing list