Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation on ordering is broken. Unable to order. #2015

Open
seenickcode opened this issue Sep 18, 2023 · 1 comment
Open

Documentation on ordering is broken. Unable to order. #2015

seenickcode opened this issue Sep 18, 2023 · 1 comment

Comments

@seenickcode
Copy link

Expected Behavior

I am able to follow the following code snippet cited here in the documentation:

client
  .getEntries({
    skip: 100,
    limit: 200,
    order: 'sys.createdAt',
  })
  .then(function (entries) {
    console.log(entries.items.length); // 200
  });

Actual Behavior

Screenshot 2023-09-18 at 7 21 46 AM

Steps to Reproduce

Provided in 'expected behavior' above.

Context

I am unable to query by a field match AND order.

Environment

➜ node -v
v19.7.0

➜ npm -v
9.6.5

➜ uname -a
22.6.0 Darwin Kernel Version 22.6.0: Wed Jul  5 22:22:05 PDT 2023; root:xnu-8796.141.3~6/RELEASE_ARM64_T6000 arm64

Package Version: "contentful": "^10.5.2",

Which API are you using?: Delivery

@PatrWade
Copy link

fyi.,this can be closed and reference to this thread:
#2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants