Bug 23663: Only process itemtype summary if using non-xslt opac results
authorNick <nick@bywatersolutions.com>
Sat, 21 Sep 2019 11:33:47 +0000 (11:33 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 29 Oct 2019 12:17:43 +0000 (12:17 +0000)
commit44c44b28d4ab0fc7daf9c76c643cba6e6a204634
treed04eed1e977ae027400c6b177b727c21459acb76
parent8c94bdcd16d28d966b6b39798b212d9fcf7605e7
Bug 23663: Only process itemtype summary if using non-xslt opac results

To test:
1 - Set OpacXSLTResultsDisplay to "" to use non-xslt view
2 - In Administration->Itemtypes define a summary for an itemtype:
    This is the summary for [245a]
3 - Perform a search on the opac that will return results with this itemtype
4 - Note "This is the summary" appears in results with the title
5 - Set OPACXSLTResultsDisplay to 'default'
6 - Refresh your search results, note the summary disappears
7 - Try search in other places and note that summary never appears
8 - Apply patch
9 - Repeat 1-7 and note nothing changed

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
C4/Search.pm