MDL-62211 tool_dataprivacy: Request filtering and pagination
authorJun Pataleta <jun@moodle.com>
Wed, 2 May 2018 14:51:17 +0000 (22:51 +0800)
committerJun Pataleta <jun@moodle.com>
Fri, 29 Jun 2018 02:32:04 +0000 (10:32 +0800)
commit4c72ffa5ef823bdd9125c2036923dd7fa3aceb1c
treea226d79343ef96f9ca71d2d5f2db8a966acca3b6
parentf61ee4e857a894a5b8b69516b00be88ae499964b
MDL-62211 tool_dataprivacy: Request filtering and pagination

* Make data requests page use table_sql to make it sortable
* Also, add an autocomplete element that enables filtering by
  status and request type.
14 files changed:
admin/tool/dataprivacy/amd/build/request_filter.min.js [new file with mode: 0644]
admin/tool/dataprivacy/amd/src/request_filter.js [new file with mode: 0644]
admin/tool/dataprivacy/classes/api.php
admin/tool/dataprivacy/classes/local/helper.php
admin/tool/dataprivacy/classes/output/data_deletion_page.php
admin/tool/dataprivacy/classes/output/data_requests_page.php
admin/tool/dataprivacy/classes/output/data_requests_table.php [new file with mode: 0644]
admin/tool/dataprivacy/classes/output/request_filter.php [new file with mode: 0644]
admin/tool/dataprivacy/classes/privacy/provider.php
admin/tool/dataprivacy/datarequests.php
admin/tool/dataprivacy/lang/en/tool_dataprivacy.php
admin/tool/dataprivacy/templates/data_requests.mustache
admin/tool/dataprivacy/templates/request_filter.mustache [new file with mode: 0644]
admin/tool/dataprivacy/tests/api_test.php