Skip to content

Commit

Permalink
CM-750: fix task filtering
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan committed Mar 21, 2024
1 parent 5159e73 commit 1461c76
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions src/components/TaskFilter.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ function TaskFilter({
module="tasksManagement"
label="task.entity"
value={filterTextFieldValue('entity')}
onChange={onChangeStringFilter('entity', CONTAINS_LOOKUP)}
onChange={onChangeStringFilter('entityString', CONTAINS_LOOKUP)}
/>
</Grid>
<Grid item xs={3} className={classes.item}>
Expand All @@ -81,14 +81,6 @@ function TaskFilter({
])}
/>
</Grid>
<Grid item xs={3} className={classes.item}>
<TextInput
module="tasksManagement"
label="task.businessStatus"
value={filterTextFieldValue('businessStatus')}
onChange={onChangeStringFilter('businessStatus', CONTAINS_LOOKUP)}
/>
</Grid>
<Grid item xs={3} className={classes.item}>
<PublishedComponent
pubRef="tasksManagement.taskStatusPicker"
Expand All @@ -101,7 +93,7 @@ function TaskFilter({
{
id: 'status',
value,
filter: `status: ${value}`,
filter: value ? `status: ${value}` : EMPTY_STRING,
},
])}
/>
Expand Down

0 comments on commit 1461c76

Please sign in to comment.