Filter data by two fields, is it possible?

Or create a custom controller to handle a case like that.