Merge pull request #569 from akkisagiraju/main

[example][catalog] Added start arg to SEARCH_QUERY
This commit is contained in:
Rufus Pollock 2021-06-17 13:49:53 +01:00 committed by GitHub
commit 5bd8ffae03
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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