Hello,

I have such a schema:

Flatpage:
  actAs:
    I18n:
      fields: [ title, content ]
      actAs:
        Sluggable: { fields: [ title ], uniqueBy: [ lang, title ] }
    Sortable: ~
    Timestampable: ~
  columns:
    id: { type: integer(4), primary: true, autoincrement: true }
    title: { type: string(50), notnull: true }
    content: { type: string(100000) }
    is_active: { type: boolean, default: true, notnull: true }
  indexes:
    is_active_idx:
      fields: [ is_active ]

An in generator.yml:

...
      list:
        table_method:  retrieveBackendFlatpageList
        display:       [=title, slug, =is_active]
        sort:          [title, asc]
        object_actions:
            toggle:    ~
            _edit:     ~
            _delete:   ~
...

Now I'd like to make it possible for a admin user to sort by title or
slug column, which are being translated. At this moment it is possible
to sort only by is_active column - title and slug headers are not
clickable. However, default sorting by title seems to work fine.

Thanks in advance for your help.

Regards,
Piotr

--

You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.


Reply via email to