7913 Posts in 1355 Topics by 930 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, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w
|
Page:
1
|
Go to End | |
| Author | Topic: | 244 Views |
-
DataObjectManager: Specify Sort in Admin Area

4 January 2012 at 3:09pm
How can I get this to sort by "Food Name"?
$obj = new SiteConfig_DataObjectManager(
$this->owner,
'Food',
'Food',
array('Plant'=>'Plant','FoodName'=>'Food Name'),
'getCMSFields_forPopup'
);
$obj->setSourceID($this->owner->ID);
$obj->setAddTitle("Food Pages");
$fields->addFieldToTab("Root.Content.Custom", $obj);
| 244 Views | ||
|
Page:
1
|
Go to Top |

