Koha/acqui
Jonathan Druart 6180725e61 Bug 20212: Use the DT column filtering provided by the wrapper
Bug 27402 is adding it, we do not longer need the query_from_filters JS
function.

This patch also remove the filters on the left. As we have DT
remembering the filter on the table we don't need them anymore.

Technical note:
Prior to this patch, the search on biblio.author, biblio.title and
biblio.isbn was done by adding hidden columns. Now we are using:
  "data": "biblio.author:biblio.title:biblio.isbn"
to tell the wrapper we are going to build a search on these 3
attributes.

Another trick is to pass a default_filters parameters to the wrapper, to
tell it we want to filter on the orders of a given vendor (this is a
bugfix, the original implementation was returning all the orders).
However We should not use /acq/orders?vendor_id=42 but /acq/vendor/42/orders instead (which does not exist yet),
otherwise (with bug 27353 ) we are going to display the wrong number of non-filtering rows.

The change in Orders.pm is only formatting to match what's done in
  Bug 27353: Set X-Base-Total-Count header for REST API

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2021-01-28 16:44:40 +01:00
..
acqui-home.pl Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
add_user_search.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
addorder.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
addorderiso2709.pl Bug 24470: Mark a batch as 'imported' if all the bib has been imported 2021-01-11 10:28:02 +01:00
ajax-getauthvaluedropbox.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
basket.pl Bug 26584: Remove unused C4::Acquisition::CloseBasket function 2020-11-05 15:24:20 +01:00
basketgroup.pl Bug 27485: Rename system preference gist to TaxRates 2021-01-22 14:09:46 +01:00
basketheader.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
booksellers.pl Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
cancelorder.pl Bug 26577: Make basket.pl and cancelorder.pl use ->cancel 2020-10-15 14:50:07 +02:00
check_budget_total.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
check_uniqueness.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
duplicate_orders.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
edi_ean.pl Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
edifactmsgs.pl Bug 23682: Fix use Koha::Plugins::Handler statements 2020-09-03 15:00:48 +02:00
edimsg.pl Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
finishreceive.pl Bug 20212: Use the DT column filtering provided by the wrapper 2021-01-28 16:44:40 +01:00
histsearch.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
invoice-files.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
invoice.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
invoices.pl Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
lateorders-export.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
lateorders.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
modordernotes.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
neworderempty.pl Bug 27485: Rename system preference gist to TaxRates 2021-01-22 14:09:46 +01:00
newordersubscription.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
newordersuggestion.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
ordered.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
orderreceive.pl Bug 27485: Rename system preference gist to TaxRates 2021-01-22 14:09:46 +01:00
parcel.pl Bug 20212: Use the DT column filtering provided by the wrapper 2021-01-28 16:44:40 +01:00
parcels.pl Bug 27485: Rename system preference gist to TaxRates 2021-01-22 14:09:46 +01:00
showorder.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
spent.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
supplier.pl Bug 27485: Rename system preference gist to TaxRates 2021-01-22 14:09:46 +01:00
transferorder.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
uncertainprice.pl Bug 27082: uncertainprice.pl does not handle pagination 2020-11-25 14:38:14 +01:00
updatesupplier.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
z3950_search.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00