mirror of
https://github.com/Kingsrook/qqq-frontend-material-dashboard.git
synced 2025-07-18 05:10:45 +00:00
Fixed export for tables w/o count; fixed boolean isTrue/isFalse query; update frontend-core for timezone header
This commit is contained in:
@ -13,7 +13,7 @@
|
|||||||
"@fullcalendar/interaction": "5.10.0",
|
"@fullcalendar/interaction": "5.10.0",
|
||||||
"@fullcalendar/react": "5.10.0",
|
"@fullcalendar/react": "5.10.0",
|
||||||
"@fullcalendar/timegrid": "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/icons-material": "5.4.1",
|
||||||
"@mui/material": "5.4.1",
|
"@mui/material": "5.4.1",
|
||||||
"@mui/styled-engine": "5.4.1",
|
"@mui/styled-engine": "5.4.1",
|
||||||
|
@ -314,6 +314,18 @@ function EntityList({table, launchProcess}: Props): JSX.Element
|
|||||||
let foundFilter = false;
|
let foundFilter = false;
|
||||||
filterModel.items.forEach((item) =>
|
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 //
|
// 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);
|
}, 1);
|
||||||
</script>
|
</script>
|
||||||
</head>
|
</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>`);
|
</html>`);
|
||||||
|
|
||||||
///////////////////////////////////////////
|
///////////////////////////////////////////
|
||||||
|
Reference in New Issue
Block a user