FIX: correctly take category/group filters into csv export (PR #9300)

GitHub

I think it would be nicer to add an attr_reader for this so you could do exporter.extra instead.

I know there’s an argument that we shouldn’t add interfaces for tests, but in this case exposing the extra arguments is not a bad thing to have anyway.