Skip to content

Commit

Permalink
アップロードファイル・カテゴリ ページネーション調整
Browse files Browse the repository at this point in the history
  • Loading branch information
seto1 committed Jun 26, 2024
1 parent 84b2f2c commit 5e820db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,6 @@
]) ?>
</div>
<?php endif ?>
<div class="bca-data-list__sub">
<!-- pagination -->
<?php $this->BcBaser->element('pagination') ?>
</div>
</div>

<table class="list-table sort-table bca-table-listup" id="ListTable">
Expand Down Expand Up @@ -104,12 +100,3 @@
<?php endif; ?>
</tbody>
</table>

<div class="bca-data-list__bottom">
<div class="bca-data-list__sub">
<!-- pagination -->
<?php $this->BcBaser->element('pagination') ?>
<!-- list-num -->
<?php $this->BcBaser->element('list_num') ?>
</div>
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public function index(UploaderFilesAdminServiceInterface $service)
$this->setViewConditions('UploadFile', [
'default' => [
'query' => [
'num' => BcSiteConfig::get('admin_list_num'),
'limit' => BcSiteConfig::get('admin_list_num'),
'uploader_type' => 'all'
]]]);
$this->setRequest($this->getRequest()->withParsedBody($this->getRequest()->getQueryParams()));
Expand Down Expand Up @@ -99,7 +99,7 @@ public function ajax_list(UploaderFilesAdminServiceInterface $service, int $id =
$this->setViewConditions('UploadFile', [
'default' => [
'query' => [
'num' => BcSiteConfig::get('admin_list_num')
'limit' => BcSiteConfig::get('admin_list_num'),
]],
'type' => 'get'
]);
Expand Down

0 comments on commit 5e820db

Please sign in to comment.