From 301a6632746a1ad05cb3fbe993d87e3e15023b00 Mon Sep 17 00:00:00 2001 From: Amit Prakash <34869115+iamitprakash@users.noreply.github.com> Date: Tue, 27 Aug 2024 03:48:18 +0530 Subject: [PATCH] test checkin (#2105) --- models/users.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/models/users.js b/models/users.js index 9c7b0c342..82a0b2c45 100644 --- a/models/users.js +++ b/models/users.js @@ -184,9 +184,9 @@ const fetchPaginatedUsers = async (query) => { let compositeQuery = [dbQuery]; if (isDevMode) { - const usernameQuery = userModel.where("roles.archived", "==", false).orderBy("username"); - const firstNameQuery = userModel.where("roles.archived", "==", false).orderBy("first_name"); - const lastNameQuery = userModel.where("roles.archived", "==", false).orderBy("last_name"); + const usernameQuery = userModel.where("roles.archived", "==", false).orderBy("username_lowercase"); + const firstNameQuery = userModel.where("roles.archived", "==", false).orderBy("first_name_lowercase"); + const lastNameQuery = userModel.where("roles.archived", "==", false).orderBy("last_name_lowercase"); compositeQuery = [usernameQuery, firstNameQuery, lastNameQuery]; }