symfony doctrine admin generator -> custom listing
问题 I haven't found a way yet to customize what items are shown in the "list" view. To be a little bit more specific : by default all the records in a database table are selected and displayed, I want to be able to tweak a little the database select in order to select only a subset of items from the table. 回答1: config: list: table_method: getForAdminList Then, in a related model table class you can define your conditions to filter records: public function getForAdminList() { $q = $this-