Koha/acqui
Katrin Fischer e922ac237c
Bug 14092: Add 'any status' option to acq order search form
Sometimes it's really helpful to see all orders for a basket, a
vendor or a standing order, including the cancelled ones.
Currently this is not possible, as we have search options for
every single status and one for "any except cancelled",
but no "Any status" option.

This patch adds the "Any status" option. The sometimes
appearing empty entry is updated to "Any status except cancelled"
as this is what it does.

Testing data:
* Requires multiple order lines with different order status
* Must include at least one order line with status 'cancelled'

To test:
* Go to acquisitions
* Open the advanced search page from the top search options:
  Order search > config icon > Advanced search link
* Verify the status pull down looks as described above
* Apply patch
* Verify there is now an "Any status" option in the pull down
* Try searches for different status, including "Any status"
* Verify the results are as expected
* Create a new basket
* Create an order line by 'From an existing order (copy)'
* Verify the search form there also works as expected

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2023-10-20 16:31:15 -03:00
..
acqui-home.pl
addorder.pl Bug 31631: (follow-up) Use CalculateFundValuesIncludingTax when modifying existing order 2023-10-18 15:41:35 -03:00
addorderiso2709.pl Bug 33170: Refactor MARCItemFieldsToOrder to make adding more fields trivial 2023-10-11 10:31:49 -03:00
ajax-getauthvaluedropbox.pl
basket.pl Bug 34752: (QA follow-up) perltidy 2023-10-18 10:25:55 -03:00
basketgroup.pl Bug 31257: Add a new English 1 page layout to export basketgroup 2022-10-11 10:44:10 -03:00
basketheader.pl Bug 34509: Use select2 to load vendors on basket creation 2023-08-29 14:37:07 -03:00
booksellers.pl Bug 33103: Prevent vendors to be displayed several times in the search result 2023-04-20 15:48:42 -03:00
cancelorder.pl Bug 29658: Fix crash on cancelling cancelled order 2022-09-12 16:14:47 -03:00
check_budget_total.pl
check_uniqueness.pl
duplicate_orders.pl Bug 14092: Add 'any status' option to acq order search form 2023-10-20 16:31:15 -03:00
edi_ean.pl
edifactmsgs.pl
edimsg.pl
finishreceive.pl Bug 34022: Adjust items data structure 2023-06-23 09:46:45 -03:00
histsearch.pl Bug 14092: Add 'any status' option to acq order search form 2023-10-20 16:31:15 -03:00
invoice-files.pl
invoice.pl Bug 32705: Display the column if 1 order has an invoice price 2023-03-06 14:04:12 -03:00
invoices.pl Bug 31115: Add additional field filtering for invoice search 2022-10-24 14:11:07 -03:00
lateorders-export.pl Bug 15348: trivial code simplification 2022-09-16 10:36:53 -03:00
lateorders.pl Bug 33653: Use filter_by_active instead 2023-05-09 10:58:07 -03:00
moddeliverydate.pl Bug 15348: (follow-up) Fix modal to edit delivery date 2022-09-16 10:36:57 -03:00
modordernotes.pl
neworderempty.pl Bug 34469: Block editing for received order lines 2023-08-15 12:16:50 +03:00
newordersubscription.pl
newordersuggestion.pl
ordered.pl Bug 31631: Optionally use tax-exclusive values for calculating fund values 2023-10-18 15:41:35 -03:00
orderreceive.pl Bug 8179: Add vendor id on breadcrumb link 2023-05-17 14:44:42 -03:00
parcel.pl
parcels.pl Bug 31115: Add support for additional fields for invoices 2022-10-24 14:11:06 -03:00
showorder.pl
spent.pl Bug 31631: (QA follow-up) Tidy code 2023-10-18 15:41:37 -03:00
supplier.pl Bug 33103: Add the ability to create vendor aliases 2023-04-20 15:48:36 -03:00
transferorder.pl
uncertainprice.pl
updatesupplier.pl Bug 33104: Add the ability to create vendor interfaces 2023-05-05 10:18:46 -03:00
vendor_issues.pl Bug 33105: Tidy files 2023-07-20 10:59:31 -03:00
z3950_search.pl