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

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Oct 7 12:37:54 CEST 2022


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

Martin Renvoize <martin.renvoize at ptfs-europe.com> changed:

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

--- Comment #12 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
Created attachment 141490
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=141490&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>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

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


More information about the Koha-bugs mailing list