Bug 24014

Summary: Return to last Advanced Search link incorrectly encoded
Product: Koha Reporter: David Roberts <david.roberts>
Component: OPACAssignee: Owen Leonard <oleonard>
Status: CLOSED WORKSFORME QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low    
Version: 18.11   
Hardware: All   
OS: All   
GIT URL: Initiative type: ---
Sponsorship status: --- Comma delimited list of Sponsors:
Crowdfunding goal: 0 Crowdfunding committed: 0
Crowdfunding contact: Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description David Roberts 2019-11-11 21:31:42 UTC
After performing an advanced search in the opac, if you click on the link to return to the last Advanced Search it is incorrectly encoded and results in a 404 page error. 

Changing line 117 of opac-results.tt from

<p><a href="[% ReturnPath | uri %]">Return to the last advanced search</a></p>

to 

<p><a href="[% ReturnPath | $raw %]">Return to the last advanced search</a></p>

corrects the problem.
Comment 1 Katrin Fischer 2019-11-24 14:11:01 UTC
It's now:
<p><a href="[% ReturnPath | url %]

This seems to work well in my tests. Marking "WORKSFORME".