reyesoft / ngx-jsonapi

JSON API client library for Angular 5+ 👌 :: Production Ready 🚀
https://ngx-jsonapi.reyesoft.com/
MIT License
101 stars 52 forks source link

How can I sort the table information from the server #55

Closed ZahraAmiri1996 closed 6 years ago

ZahraAmiri1996 commented 6 years ago

Hi friends How can I sort the table information from the server, for example, how can I sort the names of a table alphabetically by server?

max-SS commented 6 years ago

Hi!! If I understand correctly, it depends on what you use on your front end, for example we are using material, which provides us with the matSort component to achieve data sorting. As an alternative you can also create a pipe orderBy similar to angularjs.

ZahraAmiri1996 commented 6 years ago

I mean I want use json api sort,that request sort to server and deliver sorted Items, see http://jsonapi.org/format/#fetching-sorting

pablorsk commented 6 years ago

Duplicate of #54