1. Add Data model for DrawDivisionPrize and Lot (LotNumberBased, LotTicketBase). 2.Add model admin for DrawCenter. 3. Disable create a game draw for draw center.

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@73700 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Normann Lou 2009-03-26 04:53:23 +00:00
parent 230a70c02a
commit dfff676f48

View File

@ -628,6 +628,8 @@ class ModelAdmin_CollectionController extends Controller {
$this->modelClass,
$summaryFields
);
//foreach($searchCriteria as $oneCriterium=>$v) {echo($oneCriterium."=>");print_r($v);echo("<br />");}
// Debug::show($this->getSearchQuery($searchCriteria)->sql());die;
$tf->setCustomQuery($this->getSearchQuery($searchCriteria));
$tf->setPageSize($this->parentController->stat('page_length'));
$tf->setShowPagination(true);