Koha/koha-tmpl/intranet-tmpl/prog/en/modules
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 Bug 20212: Use the DT column filtering provided by the wrapper 2021-01-28 16:44:40 +01:00
admin Bug 27402: Move to datatables.js 2021-01-28 16:41:22 +01:00
authorities Bug 27471: Change auth merge success link text and don't redirect 2021-01-27 10:45:54 +01:00
basket Bug 23852: Merge biblio-title.inc and biblio-default-view.inc 2020-10-08 15:01:29 +02:00
batch
catalogue Bug 27324: Use Koha.Preference() for intranetbookbag everywhere 2021-01-20 10:16:48 +01:00
cataloguing Bug 23302: (QA follow-up) Fix filters 2021-01-27 14:36:26 +01:00
circ Bug 26950: Make Anonymous patron warnings 'errors' and refer to the system information tab on about.pl 2021-01-12 16:13:50 +01:00
clubs Bug 25744: Replace <i> with <em> in staff interface 2020-09-18 11:08:35 +02:00
common Bug 26738: (QA follow-up) Add missing filter 2020-11-04 12:59:32 +01:00
course_reserves Bug 26819: (QA follow-up) authorized_value should be authorised_value 2020-11-25 14:38:11 +01:00
errors
ill Bug 25614: Move ILL request keyword filter to sidebar 2021-01-27 10:45:54 +01:00
installer Bug 24973: Load custom localization file 2020-08-24 12:10:53 +02:00
labels Bug 27474: Improve link text when no avaliable printer profiles 2021-01-22 14:59:27 +01:00
mana
members Bug 22150: (follow-up) ensuring superlibrarian flag not checked when select all 2021-01-22 14:59:27 +01:00
offline_circ Bug 26212: Remove the use of jquery.checkboxes plugin from pending offline circulations 2020-08-18 15:45:49 +02:00
onboarding Bug 26449: fix web installer typo 2020-10-08 11:36:32 +02:00
patron_lists Bug 26234: Teach our KohaTable constructor the specific th classes 2020-08-19 08:24:04 +02:00
patroncards Bug 27475: Improve link text to define a patron card printer profile if none are defined 2021-01-21 15:56:02 +01:00
plugins Bug 25549: Add error reporting to plugins-home 2020-10-22 10:04:30 +02:00
pos Bug 27256: Update click handler for point of sale 2020-12-26 17:58:35 +01:00
reports Bug 26713: Add pagination to bottom of saved SQL reports table 2021-01-12 16:09:33 +01:00
reserve Bug 27407: Update reserve/request.tt for ACC2 2021-01-22 14:59:27 +01:00
reviews Bug 25744: replace <b> with <strong> in the staff interface 2020-09-18 11:08:35 +02:00
rotating_collections Bug 23852: Merge biblio-title.inc and biblio-default-view.inc 2020-10-08 15:01:29 +02:00
serials Bug 26846: Fix regressions - Preselect expected and late serials 2020-11-18 09:34:51 +01:00
services
suggestion Bug 27446: (QA follow-up) Add missing filters 2021-01-27 10:45:54 +01:00
tags Bug 26806: Remove the jquery.checkboxes plugin from the staff client 2020-11-03 10:57:35 +01:00
test
tools Bug 27525: Replace "wich" with "with" in batch delete template 2021-01-27 10:45:54 +01:00
virtualshelves Bug 27324: Use Koha.Preference() for intranetbookbag everywhere 2021-01-20 10:16:48 +01:00
about.tt Bug 26950: Make Anonymous patron warnings 'errors' and refer to the system information tab on about.pl 2021-01-12 16:13:50 +01:00
auth.tt Bug 27055: Fix compatibility with newer Firefox+Selenium version 2020-12-30 12:04:49 -03:00
intranet-main.tt Bug 26833: Logged in library doesn't show with suggestions count 2020-11-02 11:03:09 +01:00