Fixed export for tables w/o count; fixed boolean isTrue/isFalse query; update frontend-core for timezone header

This commit is contained in:
2022-11-04 10:01:01 -05:00
parent 043fe446d5
commit 8dfc52c324
2 changed files with 14 additions and 2 deletions

View File

@ -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",

View File

@ -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);
</script>
</head>
<body>Generating file <u>${filename}</u> with ${totalRecords.toLocaleString()} records...</body>
<body>Generating file <u>${filename}</u>${totalRecords ? " with " + totalRecords.toLocaleString() + "records" : ""}...</body>
</html>`);
///////////////////////////////////////////