bcgov / bcgov/entity

Pagination - Table sort only applies to the current page

Open
#25,308 0 comments 0 reactions 0 assignees View on GitHub
STR2
Dominant language
JavaScript
Stars
23
Forks
62
Avg merge
24m
Merged PRs (30d)
1

Description

Repro Steps:
1. Go to Hosts and login as a user with more than 50 registrations
2. Sort by number
3. Go to next page in the list of rentals

Actual:
See screenshot
The sort only applies to the current page in the table

Expected:
The sort is done globally and the lowest sorted items are shown last, regardless of which page they are on when first loaded

image.png

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the Hosts rentals table and trace how its pagination and number-sort state are applied when moving to the next page. Reproduce the issue with more than 50 registrations, then verify that sorting orders all registrations globally rather than only the currently loaded page.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.