Skip to content

Commit 8ddfd48

Browse files
committed
pass filters
1 parent 37e22f6 commit 8ddfd48

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

services/static-webserver/client/source/class/osparc/jobs/RunsTableModel.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ qx.Class.define("osparc.jobs.RunsTableModel", {
9595
if (this.getProjectUuid()) {
9696
promise = osparc.store.Jobs.getInstance().fetchJobsHistory(this.getProjectUuid(), this.__includeChildren, offset, limit, orderBy, resolveWResponse);
9797
} else {
98-
const filters = null;
98+
const filters = this.getFilterString() ? { text: this.getFilterString() } : null;
9999
promise = osparc.store.Jobs.getInstance().fetchJobsActive(this.getRunningOnly(), offset, limit, orderBy, filters, resolveWResponse);
100100
}
101101
promise
@@ -119,7 +119,7 @@ qx.Class.define("osparc.jobs.RunsTableModel", {
119119
if (this.getProjectUuid()) {
120120
promise = osparc.store.Jobs.getInstance().fetchJobsHistory(this.getProjectUuid(), this.__includeChildren, offset, limit, orderBy);
121121
} else {
122-
const filters = null;
122+
const filters = this.getFilterString() ? { text: this.getFilterString() } : null;
123123
promise = osparc.store.Jobs.getInstance().fetchJobsActive(this.getRunningOnly(), offset, limit, orderBy, filters);
124124
}
125125
return promise

0 commit comments

Comments
 (0)