symfony: How to set default filter values in generator.yml
In release 1.2.7 there is no way to set the default values in generator.yml file. The workaround:
Override the method getFilterDefaults() in your <modulename>/lib/<modulename>GeneratorConfiguration.class.php and add your default values. An example:
public function getFilterDefaults() { return array('is_deleted' => array('text' => "0")); }
Eine Antwort
[…] and add some extra actions to the Country view, but the most trickiest part is done. Have a look at this article from Sven to learn how to modify the default filter and at the Jobeet Tutorial, Chapter 12 to read how the […]