]> git.koha-community.org Git - koha.git/commit
Bug 23407: Don't process items for XSLT on details pages
authorNick Clemens <nick@bywatersolutions.com>
Wed, 31 Jul 2019 20:14:34 +0000 (20:14 +0000)
committerLucas Gass <lucas@bywatersolutions.com>
Fri, 14 Feb 2020 17:39:07 +0000 (17:39 +0000)
commit6c7639cfa60ea90a9bb82c9d6a793f0144262962
tree5afafa02d7fd8d74dbbcf6810a8dd7a96c066095
parentfe7f21f1ada0ad2c6420d1425d717f8d5bc67343
Bug 23407: Don't process items for XSLT on details pages

To test:
1 - Add 1000 items to a record
    Go to biblio
    Edit items
    Add multiple copies of this item
    Add 1000 and confirm
    Wait..
2 - Load the record in staff client and OPAC, note how long it takes
    Press F12 in browser to open the console
    use the Network tab of the console
    note the load time
    refresh a few times to see average time
3 - Apply patch
4 - Restart all the things
5 - Reload the record in staff and opac
6 - Note decresed time
7 - Verify nothing on the page has changed

QA can grep the standard XSLT files for details pages for 'item' to note occurences do not use items information

Signed-off-by: Hayley Mapley <hayleymapley@catalyst.net.nz>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
(cherry picked from commit 768cd74241a012d4b24aaad7b188c04fc15f3452)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
C4/XSLT.pm