Skip to content

Commit

Permalink
ordered people by first name. Refs #21
Browse files Browse the repository at this point in the history
  • Loading branch information
raffazizzi committed Jul 22, 2024
1 parent c864e17 commit 086c522
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
3 changes: 1 addition & 2 deletions src/pages/people-past.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,14 +61,13 @@ export const query = graphql`
query PeoplePastQuery {
people: allAirtablePeople(
filter: {data: {group_type: {regex: "/Past/"}}}
sort: {data: {last: ASC}}
sort: {data: {name: ASC}}
) {
group(field: {data: {people_groups: {data: {group_name: SELECT}}}}) {
fieldValue
nodes {
data {
name
last
linked_identities {
data {
title
Expand Down
4 changes: 1 addition & 3 deletions src/pages/people.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ export const query = graphql`
query PeopleQuery {
people: allAirtablePeople(
filter: {data: {group_type: {in: ["Staff", "Affiliates"]}}}
sort: {data: {last: ASC}}
sort: {data: {name: ASC}}
) {
group(field: {data: {group_type: SELECT}}) {
fieldValue
Expand All @@ -114,8 +114,6 @@ export const query = graphql`
id
new_id
name
first
last
website
twitter
identities_as_current {
Expand Down

0 comments on commit 086c522

Please sign in to comment.