CodeForPhilly / CodeForPhilly/MATchMapper

[BUG] Table filter conflicts

Offen
#42 1 Kommentar 0 Reaktionen 2 zugewiesene Personen Beansprucht von @donguyentung2001 Auf GitHub ansehen
bug
Vorherrschende Sprache
Python
Sterne
7
Forks
5
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

**Describe the bug**

Two or three types of conflicts noted. [1] appears to include both a backend issue (/x=True&x=False/ in URL) and frontend issue. [2a]-[2b] may be just frontend. Steps to reproduce in parentheses, with screenshots included:

- [1] **Choosing affirmative then negative for same filter appears to apply both**. Only the more recent choice is actually applied, but checkmark and X are chained in URL and both marked active.
**Example** (LIST ALL => chose Child care Yes, then Child care No): http://matchmapper-philly.herokuapp.com/table/sites_all/ccc%3DTrue&ccc%3DFalse/?&selected=specifier-22-affirmative,specifier-22-negative
![image](https://user-images.githubusercontent.com/45270853/132109532-d78e059e-b5a2-4afa-801a-5e667e2d832f.png)

- [2a] **Some options mark an incorrect choice in filter bar**, though URL and results are correct.
**Example** (LIST ALL => chose Telehealth Yes): http://matchmapper-philly.herokuapp.com/table/sites_all/telehealth%3DTrue/?&selected=specifier-29-affirmative
Shows 69 of 232 records (all Telehealth Yes, but filter bar says active filter is "MAT prescribed")
![image](https://user-images.githubusercontent.com/45270853/132109726-699985f2-a279-4067-9c8a-ccebff2e5b1c.png)

- [2b] **"Start Over" does not consistently reset filter-bar markers to inactive state**.
**Example** (from [2a], clicked "Start Over"): http://matchmapper-philly.herokuapp.com/table/sites_all/?&selected=specifier-29-affirmative
Shows 232 of 232 records again, but "MAT prescribed" filter is still marked as active

**Environment**
Device: Laptop
Operating System: Windows
Browser: Chrome

**Release**
Release numbers not yet available, but this is the version we prepared for July 30th DBHIDS meeting after the late August data reload. URLs tested September 3-4, 2021.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

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