Created attachment 3954 [details] screenshot In OPAC's result list with XSLT on and Tagging on result list deactivated you alwas see the Tags: label. This problem remains when switching back to normal view for OPAC results. Another problem is Online resources: not showing the link, although it's shown correctly in the detail view.
For the tags, what value do you have set for TagsShowOnList If I set it to 0, the label goes away.
I see what Cait sees too: - OPACXSLTResultsDisplay on or off - TagsInputOnList off "Tags:" label appears whether or not there are tags.
Yes, that preference does control whether you see tags, just whether you can input them on the results page. If you don't want tags to show you have to edit TagsShowOnList. TagsInputOnlist just controls if you get an input box or not
Chris, see the screenshot. It isn't correct that the "Tags: " label appears at the start of a blank line, i.e. for titles without any tags. It works properly in the html_template_pro branch.
Right, all im saying is that Input one doesnt control whether tags show or not, just whether the input box does. It's a red herring for whoever writes the patch.
% IF ( SEARCH_RESULT.TagLoop ) %] <div class="results_summary"> <span class="label">Tags:</span> So its not any syspref that is contolling whether it shows or not.
Actually [% IF ( TagsShowOnList ) %] [% IF ( SEARCH_RESULT.TagLoop ) %] <div class="results_summary"> <span class="label">Tags:</span>
AHh spotted it it needs to be % IF ( SEARCH_RESULT.TagLoop.size ) %] Because TagLoop does exist, its just empty. Ill send a patch in the morning, if no one else beats me, now the baby is back asleep thats where im going.
No one beat me, so ill patch it myself ;)
Pushed, please test
Created attachment 3965 [details] screenshot of details - OK
Created attachment 3966 [details] screenshot of result list - links missing!
It seems there is a problem with the system preferences passed to the xslt stylesheets. I tried: URLLinkText - no change in results (stil missing) and details OPACURLOpenInNewWindow - no change in results (still missing) and details
Short update: The links display is constructed slightly different in staff and opac. In OPAC link for online ressoucres is all wrapped into checks for system preferences. When I comment one of this checks out, my URLs show up.
Works in 3.4