Included a limit on global search query to limit performance impact.

This commit is contained in:
Patrick Fic
2023-04-19 14:08:57 -07:00
parent 3c0a883326
commit 171b61b92f
2 changed files with 6 additions and 8 deletions

View File

@@ -1278,7 +1278,7 @@ export const SEARCH_JOBS_BY_ID_FOR_AUTOCOMPLETE = gql`
export const SEARCH_FOR_JOBS = gql`
query SEARCH_FOR_JOBS($search: String!) {
search_jobs(args: { search: $search }) {
search_jobs(args: { search: $search }, limit: 25) {
id
ro_number
ownr_fn