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)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 24 Jan 2020 12:50:26 +0000 (12:50 +0000)
commit7c2319f8070ee00c2cd1b2042754d9ad3b06bdc7
treed50752efce4fad9e335eb70b3973ff3e3d352066
parent703fc7ad6363f09297c37152c49752630d8cb73d
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>
C4/XSLT.pm