From ca7cd5e97ac18c357079ed46f15c68d0b5a422ae Mon Sep 17 00:00:00 2001 From: Declan Tyson Date: Thu, 12 Apr 2018 17:55:02 +0100 Subject: [PATCH] Change order filter to sort to reflect parameter --- docs/3.x.x/en/getting-started/quick-start.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/3.x.x/en/getting-started/quick-start.md b/docs/3.x.x/en/getting-started/quick-start.md index a06510e9c1..6fe28aac6e 100644 --- a/docs/3.x.x/en/getting-started/quick-start.md +++ b/docs/3.x.x/en/getting-started/quick-start.md @@ -139,14 +139,14 @@ In order to do so, you'll need to allow access to other users (identified as 'Gu To retrieve the list of products, use the `GET /your-content-type` route. -Generated APIs provide a handy way to filter and order queries. In that way, ordering products by price is as easy as `GET http://localhost:1337/product?_order=price:asc`. For more informations, read the [filters documentation](../guides/filters.md) +Generated APIs provide a handy way to filter and order queries. In that way, ordering products by price is as easy as `GET http://localhost:1337/product?_sort=price:asc`. For more informations, read the [filters documentation](../guides/filters.md) Here is an example using jQuery. ```js $.ajax({ type: 'GET', - url: 'http://localhost:1337/product?_order=price:asc', // Order by price. + url: 'http://localhost:1337/product?_sort=price:asc', // Order by price. done: function(products) { console.log('Well done, here is the list of products: ', products); },