Open iamdebobrota opened 5 months ago
I noticed this too. It's not hugely spelled out in the new 1.0-alpha docs, but the approach changed a bit: https://www.npmjs.com/package/json-server#sort
Basically for your example you'd use _sort=price
for ascending, and _sort=-price
for descending (note the dash prefix). No _order needed or used anymore from what I can see.
I have the same problem ðŸ˜
json-server --version 1.0.0-beta.0
Its not support the _order query