5sControl / 5sControl/5s-frontend

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

Ouverte
#310 2 commentaires 0 réactions 1 personne assignée Réclamée par @AlexGurski Voir sur GitHub
bug Front
Langage dominant
TypeScript
Étoiles
3
Forks
1
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

После обновления страницы 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)

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
react, typescript
Domaine
frontend
Type d'issue
Bug
Difficulté
3/5
Temps estimé
1-2 jours
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
45/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.