CodeForPhilly / CodeForPhilly/MATchMapper

[BUG] Table filter conflicts

Đang mở
#42 1 bình luận 0 reaction 2 người được giao Được @donguyentung2001 nhận Xem trên GitHub
bug
Ngôn ngữ chính
Python
Star
7
Fork
5
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.