[development] views: custom conditions using fields from multiple tables