Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
example in doc for locale filtering in whereTranslation scope #487
I needed that feature to filter slugs in specific locales.
The problem is that I was querying the pages model using the slug and
To make that work using the provided scope it should filter also by locale, which that third parameter enables.
I wasn't aware of it until I went into the source code to try and fix my problem, and the "fix" was already there.
Docs updated so that anybody with the same issue is aware of the option.