CodeForPhilly / CodeForPhilly/MATchMapper

[BUG] Table filter conflicts

Abierto
#42 1 comentario 0 reacciones 2 asignados Reclamado por @donguyentung2001 Ver en GitHub
bug
Lenguaje dominante
Python
Estrellas
7
Forks
5
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

**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.

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.