HTML search not working

Howard Butler avatarHoward Butler created an issue

Search doesn't currently work on either 1.0b2 or 1.0b2+/7473a3e2e009 Firebug complains with

Search.loadIndex is not a function
file:///Users/hobu/svn/msdocs.56/build/html/en/search.html?q=mapfile&check_keywords=yes&area=default
Line 31

loadIndex doesn't seem to exist anymore.

Comments (4)

  1. Anonymous

    I have the same problem with 1.0b2, both locally, and on the server that Howard refers to (http://www.mapserver.org/). On both machines the /_static/searchtools.js file does not contain the loadIndex function.

    But then I asked myself "where does this /_static/searchtools.js file come from?". So on my local machine I found several versions of this file in my C:/Python26/ folder:

    C:\Python26\Lib\site-packages\Sphinx-1.0b2-py2.6.egg\sphinx\themes\basic\searchtools.js
    C:\Python26\Lib\site-packages\Sphinx-0.6.5-py2.6.egg\sphinx\themes\basic\searchtools.js
    C:\Python26\Lib\site-packages\Sphinx-0.6.3-py2.6.egg\sphinx\themes\basic\searchtools.js
    

    Our 1.0b2 copies contain the function, but our older ones do not.

    I believe this means that mapserver.org uses a theme from pre-sphinx-1.0, and that we'll have to upgrade. Am I correct?

  2. Log in to comment
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.