| 1 |
--- data/symfony/generator/sfPropelAdmin/default/template/actions/actions.class.php (Revision 3633) |
|---|
| 2 |
+++ data/symfony/generator/sfPropelAdmin/default/template/actions/actions.class.php (Arbeitskopie) |
|---|
| 3 |
@@ -27,10 +29,13 @@ |
|---|
| 4 |
<?php endif ?> |
|---|
| 5 |
|
|---|
| 6 |
// pager |
|---|
| 7 |
$this->pager = new sfPropelPager('<?php echo $this->getClassName() ?>', <?php echo $this->getParameterValue('list.max_per_page', 20) ?>); |
|---|
| 8 |
$c = new Criteria(); |
|---|
| 9 |
$this->addSortCriteria($c); |
|---|
| 10 |
$this->addFiltersCriteria($c); |
|---|
| 11 |
+<?php if ($this->getParameterValue('list.filter_method')): ?> |
|---|
| 12 |
+ <?php echo $this->getPeerClassName() ?>::<?php echo $this->getParameterValue('list.filter_method') ?>($c, $this->filters); |
|---|
| 13 |
+<?php endif ?> |
|---|
| 14 |
$this->pager->setCriteria($c); |
|---|
| 15 |
$this->pager->setPage($this->getRequestParameter('page', 1)); |
|---|
| 16 |
<?php if ($this->getParameterValue('list.peer_method')): ?> |
|---|