Rseolve search error.

This commit is contained in:
Patrick Fic
2023-08-16 14:09:19 -07:00
parent 4d63c91135
commit ed006c0626
3 changed files with 11 additions and 3 deletions

View File

@@ -113,9 +113,15 @@
"title": "Release Notes for 1.1.2",
"date": "04/12/2023",
"notes": "Bug Fixes:\r\nResolved an issue where the incorrect ruleset could apply to a job on first import."
} ,"1.1.3": {
},
"1.1.3": {
"title": "Release Notes for 1.1.3",
"date": "08/15/2023",
"notes": "Bug Fixes:\r\n- Added additional SUV and Truck models.\r\n- Searches must now be at least 4 characters to prevent long running searches.\r\n- Added right click context menu."
},
"1.1.4": {
"title": "Release Notes for 1.1.4",
"date": "08/16/2023",
"notes": "Bug Fixes:\r\n- Fix an issue when searching for jobs without an R4P date."
}
}

View File

@@ -48,7 +48,9 @@ export default function JobsSearchFieldsMolecule({ callSearchQuery }) {
(!!!form.getFieldValue("search") &&
!!!form.getFieldValue("dateRange") &&
!form.getFieldValue("closeDateIsNull")) ||
form.getFieldValue("search").length < 4;
(form.getFieldValue("search") &&
form.getFieldValue("search") !== "" &&
form.getFieldValue("search")?.length < 4);
return (
<Button

View File

@@ -7,7 +7,7 @@ import ErrorResultAtom from "../../atoms/error-result/error-result.atom";
import JobsListItemMolecule from "../../molecules/jobs-list-item/jobs-list-item.molecule";
import JobsSearchFieldsMolecule from "../../molecules/jobs-search-fields/jobs-search-fields.molecule";
const limit = 20;
const limit = 50;
export default function JobsTableOrganism() {
const [state, setState] = useState({ hasMore: true });