Skip to content
This repository has been archived by the owner on Jun 7, 2023. It is now read-only.

excl-networks/strapi-plugin-random-sort

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Archived

I have archived this plugin because its 15 lines of code you should implement yourself instead of depending on a plugin.

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?

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published