fix: Managed event isn’t showing in the upcoming bookings when filtered (#14552)
Co-authored-by: Somay Chauhan <[email protected]> Co-authored-by: Carina Wollendorfer <[email protected]> Co-authored-by: Udit Takkar <[email protected]>
This commit is contained in:
1 file changed
+36
-8
@@ -73,13 +73,28 @@ export async function getBookings({
|
||||
teamIds: {
|
||||
AND: [
|
||||
{
|
||||
eventType: {
|
||||
team: {
|
||||
id: {
|
||||
in: filters?.teamIds,
|
||||
OR: [
|
||||
{
|
||||
eventType: {
|
||||
team: {
|
||||
id: {
|
||||
in: filters?.teamIds,
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
eventType: {
|
||||
parent: {
|
||||
team: {
|
||||
id: {
|
||||
in: filters?.teamIds,
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -121,9 +136,22 @@ export async function getBookings({
|
||||
eventTypeIds: {
|
||||
AND: [
|
||||
{
|
||||
eventTypeId: {
|
||||
in: filters?.eventTypeIds,
|
||||
},
|
||||
OR: [
|
||||
{
|
||||
eventTypeId: {
|
||||
in: filters?.eventTypeIds,
|
||||
},
|
||||
},
|
||||
{
|
||||
eventType: {
|
||||
parent: {
|
||||
id: {
|
||||
in: filters?.eventTypeIds,
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user