Sometimes, it’s not easy with Symfony’ filters to create links displaying a content already filtered without using a specific action.
These are examples of how it works directly with an URL generated with a link_to() :
<?php echo link_to('New Application', 'applicant', array('sort' => 'created_at', 'sort_type' => 'desc'))?> <br />
<?php echo link_to('Waiting reply app.', 'applicant/filter', array('query_string' => 'filter=applicant_filter&applicant_filters[status_id]=2'))?><br />
<?php echo link_to('Accepted app.', 'applicant/filter', array('query_string' => 'filter=applicant_filter&applicant_filters[status_id]=5'))?> <br />
Latest posts by Fab (see all)
- La Horde du Contrevent : review - 13 October 2024
- For Whom the Bells Tolls: review - 4 August 2024
- Self Aware On Air Neon Sign - 8 June 2024