CodeForPhilly / CodeForPhilly/clean-and-green-philly

Inconsistent "Get Access" filter results

Open
#1,185 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
50
Forks
92
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
The panels filter for "Get Access" is behaving inconsistently; sometimes selecting more options will increase the property count, suggesting that it is using the union of properties with those selected access patterns, and sometimes the property count decreases, suggesting the opposite.

**To Reproduce**

1. Go to the filters view on https://www.cleanandgreenphilly.org/find-properties
2. Click on several of the "Get Access" panels in succession
3. See that in some cases the property count increases to show more properties are included, and eventually it decreases, showing the inconsistent behavior.

**Expected behavior**
Selecting more options should filter for properties that have all of active selection, so there should be a reduction of number of properties when filtering for more granular intersections.

**Screenshots**

https://github.com/user-attachments/assets/a8389baf-112a-44eb-a584-b479a0076704

**Desktop (please complete the following information):**

- OS: Ubuntu 24.04.2
- Browser: Firefox 137.0.2

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.