Skip to content

Apply Sort Filter in Get All Policies #161

@rahul-eminds

Description

@rahul-eminds

Description

Implement a sort filter for the "Get All Policies" API using the Strapi plugin. This filter will allow users to retrieve and organize policy data based on specified sorting parameters (e.g., date, name, or status) to enhance the usability and accessibility of the policy information.

Goals

  • Add a sort filter to the "Get All Policies" API.
  • Allow sorting by various parameters like name, or status.
  • Ensure proper functionality of the sort filter across different data sets.
  • Follow best practices for efficient data retrieval and sorting.

Expected Outcome

  • A functional sort filter added to the "Get All Policies" API.
  • Policies can be sorted by date, name, or status.
  • Improved usability and data accessibility through sorting options.

Acceptance Criteria

  • Sort filter is implemented and operational.
  • Policies are successfully sorted by name, or status.
  • Sort filter works across different data sets without errors.
  • Code passes all tests and code reviews.

Mockups / Wireframes

NA

Product Name

Beckn

Domain

TBD

Tech Skills Needed

  • JavaScript/TypeScript
  • Strapi
  • RESTful APIs
  • Data Sorting and Filtering

Complexity

Low

Category

API Development

Sub Category

Policy Management

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions