Skip to content

Commit

Permalink
test checkin (#2105)
Browse files Browse the repository at this point in the history
  • Loading branch information
iamitprakash authored Aug 26, 2024
1 parent bca2d8c commit 301a663
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions models/users.js
Original file line number Diff line number Diff line change
Expand Up @@ -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];
}

Expand Down

0 comments on commit 301a663

Please sign in to comment.