diff --git a/src/components/TaskFilter.js b/src/components/TaskFilter.js index fb9d652..944c758 100644 --- a/src/components/TaskFilter.js +++ b/src/components/TaskFilter.js @@ -48,6 +48,7 @@ function TaskFilter({ label="task.source" value={filterTextFieldValue('source')} onChange={onChangeStringFilter('source', CONTAINS_LOOKUP)} + readOnly /> diff --git a/src/components/TaskSearcher.js b/src/components/TaskSearcher.js index b9476a1..d9f507a 100644 --- a/src/components/TaskSearcher.js +++ b/src/components/TaskSearcher.js @@ -17,7 +17,7 @@ import { fetchTasks } from '../actions'; import trimBusinessEvent from '../utils/trimBusinessEvent'; function TaskSearcher({ - rights, contribution, entityId, showFilters = true, + rights, contribution, entityId, entityIds, showFilters = true, }) { const history = useHistory(); const modulesManager = useModulesManager(); @@ -107,6 +107,12 @@ function TaskSearcher({ filter: `entityId: "${entityId}"`, }; } + if (entityIds) { + filters.entityIds = { + value: entityIds, + filter: `entityIds: "${entityIds}"`, + }; + } return filters; };