diff --git a/package.json b/package.json index d20632d..fe2fa34 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "@fullcalendar/interaction": "5.10.0", "@fullcalendar/react": "5.10.0", "@fullcalendar/timegrid": "5.10.0", - "@kingsrook/qqq-frontend-core": "1.0.31", + "@kingsrook/qqq-frontend-core": "1.0.32", "@mui/icons-material": "5.4.1", "@mui/material": "5.4.1", "@mui/styled-engine": "5.4.1", diff --git a/src/qqq/pages/entity-list/EntityList.tsx b/src/qqq/pages/entity-list/EntityList.tsx index 0fe2b7c..7e11013 100644 --- a/src/qqq/pages/entity-list/EntityList.tsx +++ b/src/qqq/pages/entity-list/EntityList.tsx @@ -314,6 +314,18 @@ function EntityList({table, launchProcess}: Props): JSX.Element let foundFilter = false; filterModel.items.forEach((item) => { + ///////////////////////////////////////////////////////////////////////// + // set the values for these operators that otherwise don't have values // + ///////////////////////////////////////////////////////////////////////// + if(item.operatorValue === "isTrue") + { + item.value = [true]; + } + else if(item.operatorValue === "isFalse") + { + item.value = [false]; + } + //////////////////////////////////////////////////////////////////////////////// // if no value set and not 'empty' or 'not empty' operators, skip this filter // //////////////////////////////////////////////////////////////////////////////// @@ -858,7 +870,7 @@ function EntityList({table, launchProcess}: Props): JSX.Element }, 1); - Generating file ${filename} with ${totalRecords.toLocaleString()} records... + Generating file ${filename}${totalRecords ? " with " + totalRecords.toLocaleString() + "records" : ""}... `); ///////////////////////////////////////////