mirror of
https://github.com/yiisoft/yii2.git
synced 2025-08-26 06:15:19 +08:00
Fixes #2460: custom listview/gridview summary was broken
This commit is contained in:
@ -185,6 +185,14 @@ abstract class BaseListView extends Widget
|
||||
]) . '</div>';
|
||||
}
|
||||
}
|
||||
return Yii::$app->getI18n()->format($summaryContent, [
|
||||
'begin' => $begin,
|
||||
'end' => $end,
|
||||
'count' => $count,
|
||||
'totalCount' => $totalCount,
|
||||
'page' => $page,
|
||||
'pageCount' => $pageCount,
|
||||
], Yii::$app->language);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user