action_list.rst 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. The List View
  2. =============
  3. .. note::
  4. This document is a stub representing a new work in progress. If you're reading
  5. this you can help contribute, **no matter what your experience level with Sonata
  6. is**. Check out the `issues on Github`_ for more information about how to get involved.
  7. This document will cover the List view which you use to browse the objects in your
  8. system. It will cover configuration of the list itself and the filters you can use
  9. to control what's visible.
  10. Basic configuration
  11. -------------------
  12. To do:
  13. - global (yml) options that affect the list view
  14. - a note about Routes and how disabling them disables the related action
  15. - using configureListFields() to set which fields to display
  16. - setting the identifier, and the available options
  17. - options available when adding general fields, inc custom templates
  18. - adding custom columns
  19. Customising the query used to generate the list
  20. -----------------------------------------------
  21. To do:
  22. - how to customize/optimize the list query
  23. Customising the sort order
  24. --------------------------
  25. To do:
  26. - how to set the default sort order
  27. - how to sort by multiple fields (this might be a separate recipe?)
  28. Filters
  29. -------
  30. To do:
  31. - basic filter configuration and options
  32. - how to set default filter values
  33. - advanced filter options
  34. .. _`issues on Github`: https://github.com/sonata-project/SonataAdminBundle/issues/1519