@itutoring/itutoring_application_js_api 1.6.10 → 1.6.11
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 +6 -0
- package/package.json +1 -1
package/modules/TableExplorer.js
CHANGED
|
@@ -177,6 +177,12 @@ class TableExplorer
|
|
|
177
177
|
|
|
178
178
|
static async search(token, searchPhrase, base64encoded = true)
|
|
179
179
|
{
|
|
180
|
+
searchPhrase = encodeURI(searchPhrase);
|
|
181
|
+
if (base64encoded)
|
|
182
|
+
{
|
|
183
|
+
searchPhrase = btoa(searchPhrase);
|
|
184
|
+
}
|
|
185
|
+
|
|
180
186
|
var data = await APIController.Get(this.#MODULE, this.#SEARCH, {
|
|
181
187
|
'token': token,
|
|
182
188
|
'searchPhrase': searchPhrase,
|