Link homework review entry points to pending filter

Dashboard tiles and the curator CTA pointed to /curator/homework without
a status filter, so the default all-submissions list (newest first)
buried old PENDING items pages deep — 19 June submissions sat unseen
for 6 weeks while the top of the list showed freshly approved work.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
2026-07-26 10:27:03 +05:00
co-authored by Claude Fable 5
parent 92fd88964e
commit 08e212365d
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -94,7 +94,7 @@ export default async function AdminDashboard() {
value={homeworkPending}
sub={`${homeworkTotal} всего сдано`}
subAccent={homeworkPending > 0}
href="/curator/homework"
href="/curator/homework?status=pending"
/>
</div>
+1 -1
View File
@@ -31,7 +31,7 @@ export default async function CuratorDashboard() {
</div>
{pending > 0 ? (
<Link href="/curator/homework" className="btn-aubade btn-aubade-accent inline-flex items-center gap-2 px-5 py-2.5 text-sm">
<Link href="/curator/homework?status=pending" className="btn-aubade btn-aubade-accent inline-flex items-center gap-2 px-5 py-2.5 text-sm">
Перейти к проверке ({pending})
</Link>
) : (