JC: added @csv to search/stat controller and view.