mirror of
https://github.com/supabase/supabase.git
synced 2026-10-05 09:25:06 +03:00
Fix: database-cron-jobs-infinite-query.ts (#37792)
ORDER BY was before where
This commit is contained in:
1 parent
81e1acc2d8
commit
edd4430432
1 file changed
+1
-1
@@ -55,8 +55,8 @@ SELECT
|
||||
FROM
|
||||
cron.job job
|
||||
LEFT JOIN most_recent_runs mr ON job.jobid = mr.jobid
|
||||
ORDER BY job.jobid
|
||||
${!!searchTerm ? `WHERE job.jobname ILIKE '%${searchTerm}%'` : ''}
|
||||
ORDER BY job.jobid
|
||||
LIMIT ${CRON_JOBS_PAGE_LIMIT}
|
||||
OFFSET ${page * CRON_JOBS_PAGE_LIMIT};
|
||||
`.trim()
|
||||
|
||||
Reference in new issue
Block a user