Adapt filter to index.view.php