[example][catalog] Added start arg to SEARCH_QUERY

This commit is contained in:
akkisagiraju 2021-05-25 23:50:40 +05:30
parent 49fd443de5
commit f22f275a58

View File

@ -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