mirror of
https://github.com/yiisoft/yii2.git
synced 2025-08-26 14:26:54 +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>';
|
]) . '</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