mirror of
https://github.com/umami-software/umami.git
synced 2026-02-07 22:27:16 +01:00
Fixed reports queries.
This commit is contained in:
parent
40970f6c33
commit
87bb9b1e73
5 changed files with 21 additions and 13 deletions
|
|
@ -24,9 +24,9 @@ export async function getReports(
|
|||
const { query, userId, websiteId } = filters;
|
||||
|
||||
const where: Prisma.ReportWhereInput = {
|
||||
...criteria.where,
|
||||
userId,
|
||||
websiteId,
|
||||
...criteria.where,
|
||||
AND: [
|
||||
{
|
||||
OR: [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue