Wrong .js path in sitesearch1-results.html
Posted: Tue Mar 24, 2020 6:38 pm
I'm using version 15.3.0.
In a web site with different folders (ie, https://doymus.com/es/formacion/formacion_Ing_Req.php), using a standard site search, it works properly in the root directory of the web site but it does not work in the sub-folders.
In sitesearch1-results.html, there are several include scripts:
two of them keep the subfolder structure:
<script src="../../style/searchindex.js"></script>
<script src="../../style/wb.sitesearch.min.js"></script>
but one of them does not:
<script src="style/jquery-1.12.4.min.js"></script>
Changing this last to:
<script src="../../style/jquery-1.12.4.min.js"></script>
the search works.
In a web site with different folders (ie, https://doymus.com/es/formacion/formacion_Ing_Req.php), using a standard site search, it works properly in the root directory of the web site but it does not work in the sub-folders.
In sitesearch1-results.html, there are several include scripts:
two of them keep the subfolder structure:
<script src="../../style/searchindex.js"></script>
<script src="../../style/wb.sitesearch.min.js"></script>
but one of them does not:
<script src="style/jquery-1.12.4.min.js"></script>
Changing this last to:
<script src="../../style/jquery-1.12.4.min.js"></script>
the search works.