Replies: 1 comment
-
|
I resolve this by using with and combine condition in the indexQuery |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have model
Orderhave a relationship one to many withOrderItem.OrderItembelongs toRoomandRoombelongs toBuilding.In the Resource of
OrderI have a custom column that displaysOrderItemofOrder.I have a filter
BookingDatewhich is equal toOrderItem.booking_dateandBuildingIdwhich is equal toRoom.building_id.The problem is when I apply both filters. If just one condition matches then I still get that
Orderand still print theOrderItemthat only matches one condition, not both.I tried to use join in indexQuery instead and it seems not to work also.
Beta Was this translation helpful? Give feedback.
All reactions