From f00a32ddb31ce7d3d8f427dd541aac3948b1a431 Mon Sep 17 00:00:00 2001 From: Kevin_Ramirez Date: Thu, 19 Feb 2026 08:47:44 -0600 Subject: [PATCH] =?UTF-8?q?fix:=20import=20de=20UUID=20en=20tasks=20y=20me?= =?UTF-8?q?joras=20visuales=20en=20listado=20de=20art=C3=ADculos?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/api/v1/modules/core/help_center/tasks.py | 1 + frontend/src/routes/dashboard/help-center/+page.svelte | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/backend/api/v1/modules/core/help_center/tasks.py b/backend/api/v1/modules/core/help_center/tasks.py index a4f753e9..ecd573ed 100644 --- a/backend/api/v1/modules/core/help_center/tasks.py +++ b/backend/api/v1/modules/core/help_center/tasks.py @@ -1,5 +1,6 @@ import logging import httpx +from uuid import UUID from celery import shared_task from datetime import datetime, timezone from core.database import CoreSessionLocal diff --git a/frontend/src/routes/dashboard/help-center/+page.svelte b/frontend/src/routes/dashboard/help-center/+page.svelte index f456f5a8..25ff7cfb 100644 --- a/frontend/src/routes/dashboard/help-center/+page.svelte +++ b/frontend/src/routes/dashboard/help-center/+page.svelte @@ -36,7 +36,7 @@ (a) => a.title.toLowerCase().includes(searchTerm.toLowerCase()) || a.content.toLowerCase().includes(searchTerm.toLowerCase()) - ) + ).sort((a, b) => new Date(b.updated_at).getTime() - new Date(a.updated_at).getTime()) ); onMount(async () => {