Browse Source

Update SearchData.php

admin@web.or.kr 4 months ago
parent
commit
2c7e52ffd9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Models/DTO/SearchData.php

+ 1 - 1
app/Models/DTO/SearchData.php

@@ -13,7 +13,7 @@ class SearchData implements Responsable
     public function __construct(
         public int $page = 1,
         public int $perPage = DEFAULT_LIST_PER_PAGE,
-        public int $pageCount,
+        public int $pageCount = DEFAULT_LIST_PAGE_COUNT,
         public int $offset = 0,
         public ?int $sort = null,
         public ?string $field = null,