mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
파일목록에 정렬 기능 추가
This commit is contained in:
parent
90f6b8aad6
commit
5a2fe66063
3 changed files with 27 additions and 4 deletions
|
|
@ -81,6 +81,7 @@ class fileAdminModel extends file
|
|||
|
||||
// Set variables
|
||||
$args->sort_index = $obj->sort_index ?? null;
|
||||
$args->order_type = $obj->order_type ?? 'desc';
|
||||
$args->page = isset($obj->page) ? ($obj->page ? $obj->page : 1) : 1;
|
||||
$args->list_count = isset($obj->list_count) ? ($obj->list_count? $obj->list_count : 20) : 20;
|
||||
$args->page_count = isset($obj->page_count) ? ($obj->page_count? $obj->page_count : 10) : 10;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue