Check query for search term, add on submit if not there
One of our librarians needed a way to limit searches to the catalog to atlases. However, the only good way to do that in our OPAC is by using the keyword "Atlas" with whatever other keywords you are searching. Since that's not always going to happen, I wrote a quick script that will check the search query for the keyword "atlas," and if it doesn't find it, will append it. This might be useful for other projects, as well.