Fixes for bookable rooms

Change-Id: I1dda88a7272a25bff38243d1ce43e02c06261b20
This commit is contained in:
smarcet
2019-08-24 11:41:11 -03:00
parent ccb5d944e6
commit ca45069673
6 changed files with 61 additions and 8 deletions

View File

@@ -55,6 +55,12 @@ class DoctrineSummitRoomReservationRepository
'r',
"r.id :operator :value"
),
'room_name' => new DoctrineJoinFilterMapping
(
'e.room',
'r',
"r.name :operator ':value'"
),
'venue_id' => new DoctrineJoinFilterMapping
(
'r.venue',
@@ -77,7 +83,7 @@ class DoctrineSummitRoomReservationRepository
(
'e.owner',
'o',
"o.email :operator :value"
"o.email :operator ':value'"
),
];
}
@@ -141,6 +147,8 @@ class DoctrineSummitRoomReservationRepository
'id' => 'e.id',
'start_datetime' => 'e.start_datetime',
'end_datetime' => 'e.end_datetime',
'room_name' => 'r1.name',
'room_id' => 'r1.id'
];
}