Bug 7834: order search at the top of acq does nothing
authorKatrin Fischer <Katrin.Fischer.83@web.de>
Mon, 9 Apr 2012 07:48:46 +0000 (09:48 +0200)
committerPaul Poulain <paul.poulain@biblibre.com>
Thu, 12 Apr 2012 15:14:52 +0000 (17:14 +0200)
commitd55cde8ae5b09bce0d93c2bfac26de6d27a4507a
tree96eaee4bbf46a3bb96f9d2ad6d00bab9f23dd6fb
parent763d69732e518272b8537ce3d3f781b84370b4da
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>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/includes/acquisitions-search.inc