Koha/Koha/Acquisition
Tomas Cohen Arazi fcd3361683 Bug 25670: New orders included only if standing
The original implementation included new orders regardless they were
standing orders.

This patch makes the query respect that conditions found on
C4::Acquisitions::SearchOrders.

To test:
1. Apply the regression tests patch
2. Run:
   $ kshell
  k$ prove t/db_dependent/Koha/Acquisition/Orders.t
=> FAIL: More orders than expected are returned
3. Apply this patch
4. Repeat 2
=> SUCCESS: Tests pass! New orders are only considered if the basket
they are attached to, is marked as standing!
5. Verify the tests make sense
6. Sign off :-D

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2021-01-28 16:41:10 +01:00
..
Bookseller
Invoice Bug 24157: Add new method Acq::Invoice::Adjustement->fund 2020-07-30 17:30:23 +02:00
Order Bug 24161: Fix license statements 2020-05-04 09:44:44 +01:00
Basket.pm Bug 26582: (QA follow-up) Rename closed => is_closed 2020-11-05 15:24:20 +01:00
BasketGroup.pm Bug 24461: Add to_api_mapping to Koha::Acquisition::BasketGroup 2020-03-24 11:32:37 +00:00
BasketGroups.pm Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
Baskets.pm Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
Bookseller.pm Bug 18177: remove aqbooksellers.currency 2020-03-27 12:15:55 +00:00
Booksellers.pm Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
Budget.pm Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
Budgets.pm Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
Currencies.pm Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
Currency.pm Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
Fund.pm Bug 15329: Add new column for budget to the late orders table 2020-11-04 12:59:34 +01:00
Funds.pm Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
Invoice.pm Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
Invoices.pm Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
Order.pm Bug 26515: Don't need to call safe_to_delete 2020-10-15 15:17:46 +02:00
Orders.pm Bug 25670: New orders included only if standing 2021-01-28 16:41:10 +01:00