Skip to content

Commit 2bbbe19

Browse files
tomkralidisnyalldawson
authored andcommittedMar 13, 2023
MetaSearch: update paging parameters for OGC API - Records
1 parent 56767da commit 2bbbe19

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎python/plugins/MetaSearch/search_backend.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# ---------------------------------------------------------
66
# QGIS Catalog Service client.
77
#
8-
# Copyright (C) 2021 Tom Kralidis (tomkralidis@gmail.com)
8+
# Copyright (C) 2023 Tom Kralidis (tomkralidis@gmail.com)
99
#
1010
# This source is free software; you can redistribute it and/or modify it under
1111
# the terms of the GNU General Public License as published by the Free
@@ -200,7 +200,7 @@ def query_records(self, bbox=[], keywords=None, limit=10, offset=1):
200200
params = {
201201
'collection_id': self.record_collection,
202202
'limit': limit,
203-
'offset': offset2
203+
'startindex': offset2
204204
}
205205

206206
if keywords:

0 commit comments

Comments
 (0)
Please sign in to comment.