This commit is contained in:
2025-12-23 13:05:03 -03:00
parent 6eff69f168
commit 22a2046fb1
5 changed files with 218 additions and 119 deletions

View File

@@ -16,6 +16,7 @@ import { Label } from '@repo/ui/components/ui/label'
import { Assigned } from './assigned'
import { Bulk } from './bulk'
import type { Course } from '../_.$orgid.enrollments.add/data'
export function meta({}: Route.MetaArgs) {
return [{ title: '' }]
@@ -23,7 +24,7 @@ export function meta({}: Route.MetaArgs) {
export async function loader({ params, context, request }: Route.LoaderArgs) {
const cloudflare = context.get(cloudflareContext)
const courses = createSearch({
const courses = createSearch<Course>({
index: 'saladeaula_courses',
sort: ['created_at:desc'],
filter: 'unlisted NOT EXISTS',