5sControl / 5sControl/5s-frontend

[5h] fix bug filter reset after reboot page order view

Offen
#310 2 Kommentare 0 Reaktionen 1 zugewiesene Person Beansprucht von @AlexGurski Auf GitHub ansehen
bug Front
Vorherrschende Sprache
TypeScript
Sterne
3
Forks
1
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

После обновления страницы order view, выбранные фильтры отображаются верно, но не работают

1. открыть приложение
2. перейти на страницу orders view
3. применить фильтры
4. перезагрузить страницу

Ожидаемый результат
Фильтры отображаются и работают

Фактический результат
Фильтры отображаются, НО не работают

attachments

https://user-images.githubusercontent.com/85877006/232498826-e1adcd2f-7011-440d-8261-234221a8a561.mp4

![Image](https://user-images.githubusercontent.com/85877006/232498883-2e13030f-5d24-46cf-bb31-93789b091663.png)
![Image](https://user-images.githubusercontent.com/85877006/232498885-617f7990-f400-4352-9a47-c7c91c81f6cd.png)

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

The issue is about filters in the order view not working after a page reload, though they appear correctly. Start by examining the component that manages the order view and its filter state. Check how filter state is initialized and persisted (likely in URL parameters or local storage) versus how it's applied after a reload. Look for the filter application logic and the data-fetching hooks to see where the disconnect happens. Verify by reproducing the bug locally.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
react, typescript
Bereich
frontend
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
45/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.