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