We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f03ac50 commit d5798f9Copy full SHA for d5798f9
src/Entries/EntryQueryBuilder.php
@@ -237,7 +237,7 @@ private function getKeysForTaxonomyWhereBasic($where)
237
return app('statamic.eloquent.entries.model')::query()
238
->select(['id'])
239
->whereIn('collection', $taxonomy->collections()->map->handle()->all())
240
- ->whereJsonContains($this->column($taxonomy->handle()), $term)
+ ->whereJsonContains($this->column($taxonomy->handle()), $slug)
241
->get()
242
->pluck('id');
243
}
0 commit comments