consider the following schema:
TableA:
columns:
id:
type: integer(8)
unsigned: 1
primary: true
autoincrement: true
name:
type: string(255)
notnull: true
group_id:
type: integer(8)
unsigned: 1
notnull: false
default: null
relations:
MyGroup:
local: group_id
foreign: id
type: one
onDelete: CASCADE
MyGroup:
columns:
id:
type: integer(8)
unsigned: 1
primary: true
autoincrement: true
name:
type: string(255)
notnull: true
As you can see, the group_id-field is nullable and therefore it should be possible to filter the admin-generated list of TableA-Objects by empty group_id.
The corresponding sfWidgetFormDoctrineChoice does not support this filter.
How about creating an new filter-class sfWidgetFormFilterDoctrineChoice analogue to sfWidgetFormFilterInput?
But whre to add the corresponding query?