From 6744d4d24365f7cb2d180588c89489678970c5ed Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Thu, 27 Feb 2025 09:40:35 +0700 Subject: [PATCH] =?UTF-8?q?fix=20=E0=B8=82=E0=B9=89=E0=B8=AD=E0=B8=A1?= =?UTF-8?q?=E0=B8=B9=E0=B8=A5=E0=B9=80=E0=B8=81=E0=B8=B5=E0=B9=88=E0=B8=A2?= =?UTF-8?q?=E0=B8=A7=E0=B8=81=E0=B8=B1=E0=B8=9A=E0=B8=9A=E0=B8=B8=E0=B8=84?= =?UTF-8?q?=E0=B8=84=E0=B8=A5=20=3D=3D>=20=E0=B8=A3=E0=B8=B0=E0=B8=94?= =?UTF-8?q?=E0=B8=B1=E0=B8=9A=E0=B8=81=E0=B8=B2=E0=B8=A3=E0=B8=A8=E0=B8=B6?= =?UTF-8?q?=E0=B8=81=E0=B8=A9=E0=B8=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../01_metadata/components/personal/08_EducationLevel.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/modules/01_metadata/components/personal/08_EducationLevel.vue b/src/modules/01_metadata/components/personal/08_EducationLevel.vue index be31fb7b..6ac2e719 100644 --- a/src/modules/01_metadata/components/personal/08_EducationLevel.vue +++ b/src/modules/01_metadata/components/personal/08_EducationLevel.vue @@ -37,7 +37,9 @@ const columns = [ headerStyle: "font-size: 14px", style: "font-size: 14px", sort: (a: string, b: string) => - a.localeCompare(b, undefined, { numeric: true, sensitivity: "base" }), + a + .toString() + .localeCompare(b, undefined, { numeric: true, sensitivity: "base" }), }, { name: "createdAt", @@ -81,7 +83,7 @@ const visibleColumns = ref([ "lastUpdateFullName", ]); const pagination = ref({ - sortBy: "name", + sortBy: "rank", }); const filterKeyword = ref(""); //คำค้นหา