@itutoring/itutoring_application_js_api 1.6.24 → 1.6.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/modules/TableExplorer.js +10 -1
- package/package.json +1 -1
package/modules/TableExplorer.js
CHANGED
|
@@ -34,6 +34,15 @@ class TableExplorer
|
|
|
34
34
|
static #ADD_FILTER = "AddFilter";
|
|
35
35
|
static #RESET_FILTER = "ResetFilter";
|
|
36
36
|
static #SET_SPECIAL_FILTER = "SetSpecialFilter";
|
|
37
|
+
static #REMOVE_FILTER = "RemoveFilter";
|
|
38
|
+
|
|
39
|
+
static async removeFilter(token, filter)
|
|
40
|
+
{
|
|
41
|
+
await APIController.Post(this.#MODULE, this.#REMOVE_FILTER, {
|
|
42
|
+
'token': token,
|
|
43
|
+
'filter': filter,
|
|
44
|
+
});
|
|
45
|
+
}
|
|
37
46
|
|
|
38
47
|
static async setSpecialFilter(token, filter)
|
|
39
48
|
{
|
|
@@ -100,7 +109,7 @@ class TableExplorer
|
|
|
100
109
|
|
|
101
110
|
return data;
|
|
102
111
|
}
|
|
103
|
-
|
|
112
|
+
|
|
104
113
|
static async getMaxPages(token)
|
|
105
114
|
{
|
|
106
115
|
var data = await APIController.Get(this.#MODULE, this.#GET_MAX_PAGES, {
|