Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sorting in CPT Dashboard #138

Draft
wants to merge 4 commits into
base: revamp
Choose a base branch
from

Conversation

MVarshini
Copy link
Collaborator

Type of change

  • Refactor
  • New feature
  • Bug fix
  • Optimization
  • Documentation Update

Description

As part of Dynamic Pagination, Sorting is moved to the backend. On clicking the arrow icon next to the table column header, hits the server with sort param in the payload. It takes the format sort=<field_name>:<sort_dir>

Also, formatted the .py files with black formatter.

Related Tickets & Documents

  • Related Issue #
  • Closes #

Checklist before requesting a review

  • I have performed a self-review of my code.
  • If it is a core feature, I have added thorough tests.

Testing

  • Please describe the System Under Test.
  • Please provide detailed steps to perform tests related to this code change.
  • How were the fix/results from this change verified? Please provide relevant screenshots or results.

@MVarshini MVarshini self-assigned this Nov 29, 2024
@MVarshini MVarshini closed this Nov 30, 2024
@MVarshini MVarshini reopened this Nov 30, 2024
@MVarshini MVarshini marked this pull request as draft November 30, 2024 13:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant