Skip to content

Commit cb12d4c

Browse files
committed
curateOrderBy for comparison
1 parent 8734245 commit cb12d4c

File tree

1 file changed

+6
-0
lines changed
  • services/static-webserver/client/source/class/osparc/dashboard

1 file changed

+6
-0
lines changed

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -806,6 +806,12 @@ qx.Class.define("osparc.dashboard.StudyBrowser", {
806806
currentParams[key] = value;
807807
}
808808
});
809+
if ([
810+
osparc.dashboard.StudyBrowser.CONTEXT.FUNCTIONS,
811+
osparc.dashboard.StudyBrowser.CONTEXT.SEARCH_FUNCTIONS,
812+
].includes(this.getCurrentContext())) {
813+
currentParams.orderBy = osparc.store.Functions.curateOrderBy(currentParams.orderBy);
814+
}
809815

810816
// check the entries in currentParams are the same as the reqParams
811817
let sameContext = true;

0 commit comments

Comments
 (0)