Hello!
I’m using the following query:
query {
picks_per_day (date_from:"2020-12-01", date_to:"2020-12-02") {
request_id
complexity
data (first:1) {
pageInfo {
hasPreviousPage
hasNextPage
endCursor
}
edges {
cursor
node {
id
user_first_name
user_last_name
order_number
sku
picked_quantity
inventory_bin
barcode_scanned
created_at
}
}
}
}
}
We have hundreds of picks between the two days, yet if I change the query to “last: 1” instead of “first: 1”, it returns the exact same record. Why wouldn’t this change the query to return the most recent pick instead of the oldest pick in that range? Is there something else I need in the query to make that happen?
Request ID when using “first:1”: 5fc7ff74e60095f8f64bc892
Request ID when using “last:1”: 5fc80146f0a5b6b73e425f61
Thanks,
Jeremy