File tree Expand file tree Collapse file tree 2 files changed +1
-6
lines changed
runtimes/eoapi/stac/eoapi/stac Expand file tree Collapse file tree 2 files changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -512,17 +512,13 @@ async def item_collection(
512
512
)
513
513
514
514
if output_type == MimeTypes .html :
515
- offset = int (request .query_params .get ("offset" ) or 0 )
516
- limit = int (request .query_params .get ("limit" ) or 10 )
517
-
518
515
item_collection ["id" ] = collection_id
519
516
return create_html_response (
520
517
request ,
521
518
item_collection ,
522
519
template_name = "items" ,
523
520
title = f"{ collection_id } items" ,
524
- limit = limit ,
525
- offset = offset ,
521
+ limit = limit
526
522
)
527
523
528
524
elif output_type == MimeTypes .csv :
Original file line number Diff line number Diff line change @@ -96,7 +96,6 @@ <h1 class="my-4">
96
96
let url = "{{ template.api_root }}/collections/{{ response.id }}/items?" ;
97
97
const searchParams = new URLSearchParams ( window . location . search ) ;
98
98
searchParams . set ( 'limit' , limit ) ;
99
- searchParams . set ( 'offset' , 0 ) ;
100
99
url += searchParams . toString ( ) ;
101
100
window . location . href = url ;
102
101
} ) ;
You can’t perform that action at this time.
0 commit comments