File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
services/static-webserver/client/source/class/osparc/dashboard Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff 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 ( ) ;
You can’t perform that action at this time.
0 commit comments