Joins on Record Query; Count action w/ distinct input/output; JSX Element option for pageHeader

This commit is contained in:
2023-04-24 12:30:19 -05:00
parent 8ed5a71f19
commit 472fb03ed0
10 changed files with 380 additions and 142 deletions

View File

@ -222,8 +222,8 @@ function AuditBody({tableMetaData, recordId, record}: Props): JSX.Element
// if we fetched the limit
if (audits.length == limit)
{
const count = await qController.count("audit", filter);
setTotal(count);
const [count, distinctCount] = await qController.count("audit", filter, null, true); // todo validate distinct working here!
setTotal(distinctCount);
}
//////////////////////////////////////////////////////////////////////////////////////////////////////////