getgrav / grav-plugin-simplesearch

Grav SimpleSearch Plugin
https://getgrav.org
MIT License
44 stars 55 forks source link

Search form field passed variable name fix. #156

Closed woosting closed 6 years ago

woosting commented 6 years ago

The name of a form field's input is also the variable-name that is passed. Apparently the search plugin expects a variable named: "query" to be passed, not a "searchfield"-named variable. Performing a manual search from the dedicated .../search page does not present any results without this change.

ghost commented 5 years ago

Can this be solved by either fixing the JS or allowing both variables to exist at the same time?