@itutoring/itutoring_application_js_api 1.6.19 → 1.6.21
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 +3 -13
- package/package.json +1 -1
package/modules/TableExplorer.js
CHANGED
|
@@ -30,15 +30,14 @@ class TableExplorer
|
|
|
30
30
|
static #GET_PAGE = "GetPage";
|
|
31
31
|
static #GET_NEXT_PAGE = "GetNextPage";
|
|
32
32
|
static #GET_PREVIOUS_PAGE = "GetPreviousPage";
|
|
33
|
-
static #GET_FILTERED_RESULTS = "GetFilteredResults";
|
|
34
33
|
static #SEARCH = "Search";
|
|
35
34
|
static #ADD_FILTER = "AddFilter";
|
|
36
35
|
static #RESET_FILTER = "ResetFilter";
|
|
37
|
-
static #
|
|
36
|
+
static #SET_SPECIAL_FILTER = "SetSpecialFilter";
|
|
38
37
|
|
|
39
|
-
static async
|
|
38
|
+
static async setSpecialFilter(token, filter)
|
|
40
39
|
{
|
|
41
|
-
await APIController.Post(this.#MODULE, this.#
|
|
40
|
+
await APIController.Post(this.#MODULE, this.#SET_SPECIAL_FILTER, {
|
|
42
41
|
'token': token,
|
|
43
42
|
'filter': filter,
|
|
44
43
|
});
|
|
@@ -174,15 +173,6 @@ class TableExplorer
|
|
|
174
173
|
return data;
|
|
175
174
|
}
|
|
176
175
|
|
|
177
|
-
static async getFilteredResults(token)
|
|
178
|
-
{
|
|
179
|
-
var data = await APIController.Get(this.#MODULE, this.#GET_FILTERED_RESULTS, {
|
|
180
|
-
'token': token,
|
|
181
|
-
});
|
|
182
|
-
|
|
183
|
-
return data;
|
|
184
|
-
}
|
|
185
|
-
|
|
186
176
|
static async search(token, searchPhrase, base64encoded = true)
|
|
187
177
|
{
|
|
188
178
|
searchPhrase = encodeURI(searchPhrase);
|