style: Pint 포맷팅 적용

This commit is contained in:
김보곤
2026-02-25 11:45:01 +09:00
parent 68b1622a4e
commit 9a7c548246
199 changed files with 1420 additions and 1083 deletions

View File

@@ -424,7 +424,7 @@ public function getAllBoards(array $filters = [], int $perPage = 15): LengthAwar
// 본사: 시스템 게시판 + 본사 테넌트 게시판
$query->where(function ($q) use ($selectedTenantId) {
$q->where('is_system', true)
->orWhere('tenant_id', $selectedTenantId);
->orWhere('tenant_id', $selectedTenantId);
});
} else {
// 일반 테넌트: 해당 테넌트 게시판만 (시스템 게시판 제외)
@@ -468,7 +468,7 @@ public function getAllBoards(array $filters = [], int $perPage = 15): LengthAwar
$sortBy = $filters['sort_by'] ?? 'id';
$sortDirection = $filters['sort_direction'] ?? 'desc';
$query->orderBy('is_system', 'desc') // 시스템 게시판 우선
->orderBy($sortBy, $sortDirection);
->orderBy($sortBy, $sortDirection);
return $query->paginate($perPage);
}