5sControl / 5sControl/5s-frontend

[1h]fix bug in orders per page

Open
#121 0 comments 0 reactions 0 assignees View on GitHub
bug Front
Dominant language
TypeScript
Stars
3
Forks
1
PR merge metrics
No merged PRs in 30d

Description

Summury: Orders View, при изменении значения orders per page, остаётся 50.
1. Открыть приложение;
2. Прейти во вкладку Orders View;
3. Изменить значение orders per page на 100.
Result: Значение orders per page изменено на 100.
Expecte result: Значение orders per page 50.

![Image](https://user-images.githubusercontent.com/113969187/227525548-3d3a322f-5f21-478a-aaa1-fd5a14f745b7.gif)

![Image](https://user-images.githubusercontent.com/113969187/227525547-528d8759-7d4c-47f8-824c-51f49aa8929e.png)

![Image](https://user-images.githubusercontent.com/113969187/227525546-1933c503-b74e-4587-8523-d6e1a7c21a7c.png)

Contributor guide

Open the contributing guide

Research direction

Look at the Orders View component and the logic handling the 'orders per page' setting. The GIF shows the UI; inspect the state management and the API call that fetches orders. Check if the selected value is being saved or passed correctly. Verify the fix by changing the value and confirming it persists.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
40/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.