Bug 14669: Add search option for managing library to orders search
authorKatrin Fischer <katrin.fischer.83@web.de>
Sat, 11 May 2019 21:08:11 +0000 (21:08 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 8 Oct 2019 13:04:48 +0000 (14:04 +0100)
commit018bcce2f7e4f58de7177f7985055a34abcdb616
tree14c9e877e77afda785e4003a6f14c6936a380d52
parent1e727da0446ad3814f8519b86120020af2f4099a
Bug 14669: Add search option for managing library to orders search

Currently the order search can't be limited by managing library.
The patch adds the search option to the order history search form
and a column for the managing library to the search results table.

To test:
- Create some baskets with orders
  - Set managing library for some, but also have some without
- Apply patch
- prove t/db_dependent/Acquisition.t
- Go to Aquisition > Orders search tab on top > Advanced search link
- Search for orders without limiting
  Orders with and without managing library set should show up
- Limit search to a specific managing library
- Verify results match expectations

Signed-off-by: Alex Sassmannshausen <alex@komputilo.eu>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
C4/Acquisition.pm
acqui/histsearch.pl
koha-tmpl/intranet-tmpl/prog/en/includes/filter-orders.inc
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/histsearch.tt
t/db_dependent/Acquisition.t