]> git.koha-community.org Git - koha.git/commit
Bug 25279: Use the API to list cities
authorTomas Cohen Arazi <tomascohen@theke.io>
Fri, 24 Apr 2020 14:50:04 +0000 (11:50 -0300)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 12 May 2020 10:39:41 +0000 (11:39 +0100)
commit4364b1666e85eb4d2e38184a7dcd1bd64826c8ff
tree3c26ff1c3a47232b2bd98bea0b46b45789e4fd80
parenta07c5c153aaecc5cc8b0d1de5c53f184da5971b9
Bug 25279: Use the API to list cities

This patch makes the general cities 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 the
datatable triggers an API call with the right query parameters

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
admin/cities.pl
koha-tmpl/intranet-tmpl/prog/en/modules/admin/cities.tt