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)
committerJoy Nelson <joy@bywatersolutions.com>
Mon, 10 Feb 2020 21:54:35 +0000 (21:54 +0000)
commit768cd74241a012d4b24aaad7b188c04fc15f3452
tree269790325a272c210872f9aae92d26eaa20fbff8
parentef3c039e5d964da5da8ba253b52a46fffa66ad66
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>
C4/XSLT.pm