Bug 25288: Use the API to list libraries
authorTomas Cohen Arazi <tomascohen@theke.io>
Mon, 27 Apr 2020 05:36:13 +0000 (02:36 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 24 Jun 2020 13:15:41 +0000 (15:15 +0200)
commitdd0c207f533a4c65b17b59b40c31ac44633e09a8
tree1a531453103520255c56b6a1752e4f4786191320
parent032e11c7f4ef5d0eba6b1b49c0c62b8828e9d133
Bug 25288: Use the API to list libraries

This patch makes the general libraries datatable use the API for rendering.
To test:
1. Test the datatable behaviour
2. Apply this patch
3. Repeat your tests
=> SUCCESS: Things work! Filtering and sorting specially

Bonus: Use the browser inspector to notice each interaction with thex
datatable triggers an API call with the right query parameters

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
admin/branches.pl
koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt