public static function argCategoryName(Query $query, $value, &$q) { $query->where('terms.category.slug', $value); }