Raise project list limit to 5000 for admin dialogs
Build and Push Docker Image / build (push) Has been cancelled
Details
Build and Push Docker Image / build (push) Has been cancelled
Details
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
fd5e5222da
commit
a3f12ed5de
|
|
@ -68,7 +68,7 @@ export function AdvanceProjectsDialog({
|
|||
|
||||
// Fetch projects in current round
|
||||
const { data: projectsData, isLoading } = trpc.project.list.useQuery(
|
||||
{ roundId, page: 1, perPage: 200 },
|
||||
{ roundId, page: 1, perPage: 5000 },
|
||||
{ enabled: open }
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -67,7 +67,7 @@ export function AssignProjectsDialog({
|
|||
notInRoundId: roundId,
|
||||
search: debouncedSearch || undefined,
|
||||
page: 1,
|
||||
perPage: 100,
|
||||
perPage: 5000,
|
||||
},
|
||||
{ enabled: open }
|
||||
)
|
||||
|
|
|
|||
|
|
@ -61,7 +61,7 @@ export function RemoveProjectsDialog({
|
|||
}, [open])
|
||||
|
||||
const { data, isLoading } = trpc.project.list.useQuery(
|
||||
{ roundId, page: 1, perPage: 200 },
|
||||
{ roundId, page: 1, perPage: 5000 },
|
||||
{ enabled: open }
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -50,7 +50,7 @@ export const projectRouter = router({
|
|||
hasFiles: z.boolean().optional(),
|
||||
hasAssignments: z.boolean().optional(),
|
||||
page: z.number().int().min(1).default(1),
|
||||
perPage: z.number().int().min(1).max(100).default(20),
|
||||
perPage: z.number().int().min(1).max(5000).default(20),
|
||||
})
|
||||
)
|
||||
.query(async ({ ctx, input }) => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue