https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20529
Nick Clemens <n...@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #122736|0 |1 is obsolete| | Attachment #122751|0 |1 is obsolete| | --- Comment #33 from Nick Clemens <n...@bywatersolutions.com> --- Created attachment 124329 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=124329&action=edit Bug 20529: Fix "Return to results" link broken by a double quote (in the search query) cause: decodeURIComponent used when URI encoding was necessary. (At least in main usecase of this feature) It could have been a copy and paste error. From the above browseRecords() function. == Test plan == 1. Search in the staff catalogue «a "alice"» Replace a and alice with whatever than will return a result for you 2. Click on the first result 3. Check the "Return to results" link It should be like staff_url://cgi-bin/koha/catalogue/search.pl?idx=kw&q=a This is the bug. Because when clicking the link, your search will be 'kw,wrdl: a' instead of 'kw,wrdl: a "alice"' 4. Apply this patch. 5. Search in the staff catalogue «a "alice"» Replace a and alice with whatever than will return a result for you 6. Click on the first result 7. Check the "Return to results" link The link should preserve the full query Signed-off-by: Séverine QUEUNE <severine.que...@bulac.fr> Signed-off-by: Nick Clemens <n...@bywatersolutions.com> Signed-off-by: Fridolin Somers <fridolin.som...@biblibre.com> Signed-off-by: Nick Clemens <n...@bywatersolutions.com> Signed-off-by: Nick Clemens <n...@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list Koha-bugs@lists.koha-community.org https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/