]> git.koha-community.org Git - koha.git/commit
Bug 26503: Add limit for standing orders to acq advanced search
authorKatrin Fischer <katrin.fischer.83@web.de>
Mon, 21 Sep 2020 22:32:51 +0000 (00:32 +0200)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 12 Oct 2020 09:28:41 +0000 (11:28 +0200)
commit352e8d23068caa248415a3081b50978d88e94762
treee9879313efce0340d000582f63893f13a186ab10
parentd50332c1e57bfe623ce2f7c6ce427dbd12990062
Bug 26503: Add limit for standing orders to acq advanced search

This allows to filter on standing orders on the acq advanced search
checkbox. For this purpose a new checkbox is shown behind the order
status search option.

As both not yet ordered and standing orders have the status
'new' or partially received internally, this seems like a good
placement as it will help distinguish these cases clearly.

new + standing order = standing order, but nothing received yet
partially received + standing order = active standing order
all status + standing order = all standing orders

To test:
- Create some baskets with at least one order, some 'standing' and
  others not
- In the top toolbar choose tab Orders search > Advanced search
- Make some searches with and without the new 'Standing order' option
- Verify the right orders are found
- In the search results standing orders will now show with the
  status + (standing order).

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
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