The quick search box at the top of the Acq pages gives you an option to search for orders, but that search brings you to the order search regardless of what you entered in the search box and then you have to rerun your search.
I confirm that this is a bug in current master.
Created attachment 9037 [details] [review] Bug 7834: order search at the top of acq does nothing Entering a search term for 'title' or 'vendor' at the top search form in acq (tab 'Orders search') did redirect to the advanced search form, but didn't start the search. After applying the patch the search will bring back results immediately or redirect to the form, when there are no results. To test: - Check all searches still work as expected by searching for title, vendor, order name and invoice number - Check advanced search still has the search terms prepopulated - Check searches with and without results are ok
Created attachment 9062 [details] [review] Bug 7834: order search at the top of acq does nothing Entering a search term for 'title' or 'vendor' at the top search form in acq (tab 'Orders search') did redirect to the advanced search form, but didn't start the search. After applying the patch the search will bring back results immediately or redirect to the form, when there are no results. To test: - Check all searches still work as expected by searching for title, vendor, order name and invoice number - Check advanced search still has the search terms prepopulated - Check searches with and without results are ok Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Adds "do_search" param to search form, forcing it to actually search. Also cleans up some spacing for readability. Marking Passed QA.
Works on current master.