allow filtering of view by 'type'