aboutsummaryrefslogtreecommitdiffstats
path: root/imperium/Action/Crud.php
diff options
context:
space:
mode:
Diffstat (limited to 'imperium/Action/Crud.php')
-rw-r--r--imperium/Action/Crud.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/imperium/Action/Crud.php b/imperium/Action/Crud.php
index 8159996..ead86dc 100644
--- a/imperium/Action/Crud.php
+++ b/imperium/Action/Crud.php
@@ -181,9 +181,11 @@
append($all,"<th>$column</th>");
append($all,'</thead><tbody>');
- append($all,$this->sql($table)->paginate([$this,'display'],$this->get('page',1),static::$limit));
- append($all,'</tbody></table></div>');
+ $x = $this->sql($table)->paginate([$this,'display'],$this->get('page',1),static::$limit);
+ append($all,$x->content());
+ append($all,'</tbody></table></div>');
+ append($all,$x->pagination());
return $this->view('@crud/show',compact('all','table'));
}