-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: APPS-1982 Add ES queries and hook filters on staff and services…
…orresources index pages (#522) * chore: fetch staff list with details for indexing in elastic search * chore:initial commit * initial commit * feat: add ES aggs search query * fix: use search-genericon staff listing page with aggs data from ES * fix: add listingfilter util method and update aggs query to filter on section handle * fix: Add search config * chore: update package version * fix: update package version * feat: sync search data with craft page entries * chore: clean up files
- Loading branch information
Showing
11 changed files
with
800 additions
and
57 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
#import "~/gql/fragments/Image" | ||
query StaffListwithfuldetail { | ||
entries(section: "staffMember", orderBy: "nameLast") { | ||
... on staffMember_staffMember_Entry { | ||
id | ||
typehandle | ||
sectionHandle | ||
title | ||
image: staffPortrait { | ||
...Image | ||
} | ||
to: slug | ||
_id: slug | ||
uri | ||
nameFirst | ||
nameLast | ||
alternativeName { | ||
... on alternativeName_alternativeName_BlockType { | ||
fullName | ||
languageAltName | ||
} | ||
} | ||
jobTitle: staffMemberJobTitle | ||
departments: staffDepartment(orderBy: "level") { | ||
id | ||
title | ||
} | ||
locations: staffAssociatedLocations { | ||
title | ||
to: uri | ||
id | ||
} | ||
pronouns | ||
phone: phoneNumber | ||
consultation: bookAConsultation | ||
topics: askMeAbout { | ||
title | ||
id | ||
} | ||
academicDepartments { | ||
id | ||
title | ||
} | ||
biography | ||
subjectLibrarian | ||
orcid: orcidId | ||
publications | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
a52f06a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉 Published on https://uclalibrary-test.library.ucla.edu as production
🚀 Deployed on https://635c1c241beb54240100ea50--uclalibrary-test.netlify.app
a52f06a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉 Published on https://uclalibrary.library.ucla.edu as production
🚀 Deployed on https://635c1d92307d44272b68fd54--uclalibrary.netlify.app