From f22f275a5853767d414462d5a59bed823ee7a33b Mon Sep 17 00:00:00 2001 From: akkisagiraju <7601150+akkisagiraju@users.noreply.github.com> Date: Tue, 25 May 2021 23:50:40 +0530 Subject: [PATCH] [example][catalog] Added start arg to SEARCH_QUERY --- examples/catalog/graphql/queries.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/catalog/graphql/queries.ts b/examples/catalog/graphql/queries.ts index b35ff8a7..c3425aa9 100644 --- a/examples/catalog/graphql/queries.ts +++ b/examples/catalog/graphql/queries.ts @@ -49,8 +49,8 @@ export const GET_RESOURCES_QUERY = gql` `; export const SEARCH_QUERY = gql` - query search($q: String, $sort: String, $rows: Int) { - search(q: $q, sort: $sort, rows: $rows) + query search($q: String, $sort: String, $rows: Int, $start: Int) { + search(q: $q, sort: $sort, rows: $rows, start: $start) @rest(type: "Search", path: "package_search?{args}") { result { count