Skip to content

Commit 810a9ca

Browse files
committed
[DOP-22530] Fix search_query filter on Run list page
1 parent 540da0e commit 810a9ca

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

src/components/job/JobRaListFilters.tsx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
1-
import { FilterLiveForm, minLength, useTranslate } from "react-admin";
1+
import { FilterLiveForm, minLength } from "react-admin";
22

3-
import { Box, Button, InputAdornment } from "@mui/material";
3+
import { Box, InputAdornment } from "@mui/material";
44
import SearchIcon from "@mui/icons-material/Search";
55
import { TextInput } from "react-admin";
66
import JobTypeRaFilter from "./JobRaTypeFilter";
77
import { LocationRaTypeFilter } from "../location";
88

99
const JobRaListFilters = () => {
10-
const translate = useTranslate();
11-
1210
return (
1311
<FilterLiveForm>
1412
<Box display="flex" alignItems="flex-end">

src/components/run/RunRaListFilters.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ const filterKeys: RunRaListFilterKeys[] = [
3030
"status",
3131
"job_type",
3232
"started_by_user",
33+
"search_query",
3334
];
3435

3536
const RunRaListFilters = () => {

0 commit comments

Comments
 (0)