|
Here is a quick workaround for everyone struggling with the deficiencies of the livesearch macro. On the Confluence Admin screen, add this bit of code to the Custom HTML - At the end of BODY field: <script type="text/javascript" language="javascript"> var chars = " OR "; if (typeof document.getElementsByName("livesearchForm")[0] != "undefined") { document.getElementsByName("livesearchForm")[0].setAttribute("onsubmit","document.getElementsByName(\"s\")[0].value = document.getElementsByName(\"s\")[0].value + chars + document.getElementsByName(\"s\")[0].value"); } </script> This will transform all searches from "keyword*" to "keyword OR keyword*" when the search is submitted. Thanks Joe, I'll ask our admin to take a look at this and add it, if possible. Laura This issue was properly fixed in 2.11.1. The jar was however not published on PAS, so you'll have to check out the source code and build the jar on your own. Hello, when do we get a bugfix for this? |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
created an issue for the plugin: http://developer.atlassian.com/jira/browse/LIVESEARCH-32