Jump to:

7940 Posts in 1543 Topics by 946 members

DataObjectManager Module

SilverStripe Forums » DataObjectManager Module » DataObjectManager: Specify Sort in Admin Area

Discuss the DataObjectManager module, and the related ImageGallery module.

Moderators: martimiz, UncleCheese, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 437 Views
  • DeklinKelly
    Community Member
    197 Posts

    DataObjectManager: Specify Sort in Admin Area Link to this post

    How can I get this to sort by "Food Name"?

    $obj = new SiteConfig_DataObjectManager(
    array('Plant'=>'Plant','FoodName'=>'Food Name'),
    $obj->setAddTitle("Food Pages");
    $fields->addFieldToTab("Root.Content.Custom", $obj);

Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.