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

Object IDs suggested by Ninja are not sorted correctly #29

Closed
vjekob opened this issue Apr 30, 2022 · 1 comment
Closed

Object IDs suggested by Ninja are not sorted correctly #29

vjekob opened this issue Apr 30, 2022 · 1 comment

Comments

@vjekob
Copy link
Owner

vjekob commented Apr 30, 2022

When Ninja is configured to suggest object IDs per range (objectIdNinja.requestPerRange configuration setting) and there are multiple ranges, then suggestions are not sorted correctly.

For example, ranges are configured like this:

[
  {
    "from": 50000,
    "to": 99999,
  },
  {
    "from": 2150500,
    "to": 2150599
  }
]

Ninja will suggest these IDs (in this order):

2150500
50000

Suggestions should be sorted like this:

50000
2150500

The sort order should not be numeric, but should follow the range order in app.json.

@vjekob
Copy link
Owner Author

vjekob commented Apr 30, 2022

Closed with 2.4.1

@vjekob vjekob closed this as completed Apr 30, 2022
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

1 participant