#✅ deep filter

1 messages · Page 1 of 1 (latest)

olive sky
#

I need help for a deep filter stuff.

I want to get all page_translations with pages_id.id = value (for example 2)

&deep={ "pages_id": { "_filter": { "id": { "_eq": 2 }}}}

but directus send me all page_translations

Maybe someone can help me to understand my solution

rotund brambleBOT
#

Thanks for posting! This is a community powered server, so you may or may not get an answer based on available help and expertise. To increase your chances of somebody being able to help you, please help us help you making sure you:

  • Adding an explanation of exactly what you're trying to achieve.
  • Adding any and all related code or previous attempts.
  • Describing the exact issue or error you are facing.
  • Posting any screenshots if applicable.
  • Reading through https://stackoverflow.com/help/how-to-ask.

When you're done with this thread, please close it. Thanks! ✨

(If you have a support agreement and need help, please contact the core team via email.)

brittle shuttle
#

Which collections are you querying here?

#

In your example, you don't need ?deep

#

If i understand correctly, the easiest way to achieve this is to GET
/items/pages/2?fields=translations.*

olive sky
#

Yeah you are right. I dont need deep Here. My Bad 🙂 thanks

rotund brambleBOT
#

✅ deep filter