我无法通过i18n字段对我的管理生成器列表进行排序。由i18n字段对symfony admin-generator-list进行排序
有人给我使用的片段吗?作为排序依据的字段名称
的的schema.yml是:
...
product:
actAs:
I18n:
fields: [name, description]
columns:
product_typ_id: integer
name: string(255)
description: string
image: string(255)
image_thumb: string(255)
relations:
productTyp:
onDelete: SET NULL
...
随着Doctrine在actions.class.php中使用addSortQuery方法 – wdev 2012-04-13 14:30:17