Skip to content

Commit 939d5af

Browse files
committed
fix
1 parent dd8edee commit 939d5af

File tree

1 file changed

+7
-3
lines changed
  • services/static-webserver/client/source/class/osparc/dashboard

1 file changed

+7
-3
lines changed

services/static-webserver/client/source/class/osparc/dashboard/StudyBrowser.js

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -792,9 +792,13 @@ qx.Class.define("osparc.dashboard.StudyBrowser", {
792792
delete reqParams["limit"];
793793
delete reqParams["offset"];
794794
delete reqParams["filters"];
795-
if (reqParams["text"]) {
796-
// decodeURIComponent the text to compare it with the currentParams
797-
reqParams["text"] = decodeURIComponent(reqParams["text"]);
795+
if ("text" in reqParams) {
796+
if (reqParams["text"] === "") {
797+
delete reqParams["text"];
798+
} else {
799+
// decodeURIComponent the text to compare it with the currentParams
800+
reqParams["text"] = decodeURIComponent(reqParams["text"]);
801+
}
798802
}
799803

800804
const cParams = this.__getRequestParams();

0 commit comments

Comments
 (0)