Skip to content

Commit

Permalink
Merge pull request #1433 from bakaphp/feat-people-search
Browse files Browse the repository at this point in the history
feat: add people search
  • Loading branch information
kaioken authored Jun 4, 2024
2 parents 665afcb + ee8d6cb commit 1d4293e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion graphql/schemas/Guild/people.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ input PeopleParticipantInput {

extend type Query @guard {
peoples(
search: String @search
where: _
@whereConditions(columns: ["id", "uuid", "companies_id", "dob"])
hasEmails: _
Expand All @@ -72,7 +73,7 @@ extend type Query @guard {
): [People!]!
@paginate(
model: "Kanvas\\Guild\\Customers\\Models\\People"
scopes: ["fromCompany"]
scopes: ["fromApp", "fromCompany", "notDeleted"]
defaultCount: 25
)
peopleRelationships(
Expand Down

0 comments on commit 1d4293e

Please sign in to comment.