Description
Title search is the default search when you type into the search box and press enter. But when the search box is empty and you paste a search term and click enter, a full search is done instead of title search.
Steps to reproduce
- empty the search box
- paste something in it
- click Enter
You wait... and then get a full search instead of the expected title search.
Details
Client using Safari on Mac OS X with MoinMoin 1.3 on any server.
Discussion
When you empty the box, the search buttons are disabled, so you will not send an empty search string (save an annoying error message). When you change the box value by typing or pasting, the buttons are enabled automatically. But in Safari, the onchange handler is not called when you paste, so the buttons remain disabled, and the query string does not have either 'titlesearch' nor 'fullsearch' parameter, and the fullsearch action fail.
Fixed by making more robust input checking in fullsearch.
Plan
- Priority:
- Assigned to:
- Status: fixed in patch-709