CodeForPhilly / CodeForPhilly/MATchMapper

[BUG] Table filter conflicts

Aberta
#42 1 comentário 0 reações 2 responsáveis Reivindicada por @donguyentung2001 Ver no GitHub
bug
Linguagem predominante
Python
Estrelas
7
Forks
5
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

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

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.