@itutoring/itutoring_application_js_api 1.6.20 → 1.6.22
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 +1 -13
- package/package.json +1 -1
package/modules/TableExplorer.js
CHANGED
|
@@ -30,7 +30,6 @@ 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";
|
|
@@ -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);
|
|
@@ -191,13 +181,11 @@ class TableExplorer
|
|
|
191
181
|
searchPhrase = btoa(searchPhrase);
|
|
192
182
|
}
|
|
193
183
|
|
|
194
|
-
|
|
184
|
+
await APIController.Get(this.#MODULE, this.#SEARCH, {
|
|
195
185
|
'token': token,
|
|
196
186
|
'searchPhrase': searchPhrase,
|
|
197
187
|
'base64encoded': base64encoded,
|
|
198
188
|
});
|
|
199
|
-
|
|
200
|
-
return data;
|
|
201
189
|
}
|
|
202
190
|
|
|
203
191
|
static async addFilter(token, filter, filterValue, filterOperation)
|