Commit f4a8e895 by Qiang Xue

Fixes #1845: removed pagination from debug panels.

parent 3091024e
...@@ -49,9 +49,7 @@ class Db extends Base ...@@ -49,9 +49,7 @@ class Db extends Base
{ {
$dataProvider = new ArrayDataProvider([ $dataProvider = new ArrayDataProvider([
'allModels' => $models, 'allModels' => $models,
'pagination' => [ 'pagination' => false,
'pageSize' => 10,
],
'sort' => [ 'sort' => [
'attributes' => ['duration', 'seq', 'type', 'query'], 'attributes' => ['duration', 'seq', 'type', 'query'],
'defaultOrder' => [ 'defaultOrder' => [
......
...@@ -55,9 +55,7 @@ class Log extends Base ...@@ -55,9 +55,7 @@ class Log extends Base
{ {
$dataProvider = new ArrayDataProvider([ $dataProvider = new ArrayDataProvider([
'allModels' => $models, 'allModels' => $models,
'pagination' => [ 'pagination' => false,
'pageSize' => 10,
],
'sort' => [ 'sort' => [
'attributes' => ['time', 'level', 'category', 'message'], 'attributes' => ['time', 'level', 'category', 'message'],
], ],
......
...@@ -49,9 +49,7 @@ class Profile extends Base ...@@ -49,9 +49,7 @@ class Profile extends Base
{ {
$dataProvider = new ArrayDataProvider([ $dataProvider = new ArrayDataProvider([
'allModels' => $models, 'allModels' => $models,
'pagination' => [ 'pagination' => false,
'pageSize' => 10,
],
'sort' => [ 'sort' => [
'attributes' => ['category', 'seq', 'duration', 'info'], 'attributes' => ['category', 'seq', 'duration', 'info'],
'defaultOrder' => [ 'defaultOrder' => [
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment