0.0.3 • Published 2 years ago

strapi-plugin-random-sort v0.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Strapi plugin random-sort

Simple plugin to randomly sort the data of a request.

Installation

npm install strapi-plugin-random-sort

or

yarn add strapi-plugin-random-sort

Config

  'random-sort': {
    enabled: true,
  },

Usage

Add a ?randomSort=true as a query parameter

Example

http://localhost:1337/api/blogs?populate=*&randomSort=true

⭐️Did you find this helpful?

If you found this plugin helpful give it a star?