I have a legacy view with different frontend filters. I would like to show for some of the frontend filters only those options, which produce results. Where and how can I put a code for doing that in a legacy view? (for block view, I would know, but not for legacy view....)