meta->data_returned
is incorrect for paginated results with MongoDB
#1140
Labels
bug
Something isn't working
priority/high
Issue or PR with a consensus of high priority
server
Issues pertaining to the example server implementation
According to the spec, the
data_returned
field should be:Currently, the query
?filter=elements HAS "Ag"
yields 11 for data_returned, but adding&page_offset=1
yields 10. To my eyes, this is a bug. Other implementations (omdb, oqmd) would return 11 for both queries.The text was updated successfully, but these errors were encountered: