ProfessionalWiki / ProfessionalWiki/WikibaseFacetedSearch

Ensure facets with active filter do not get hidden

Open
#261 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

UX
Dominant language
PHP
Stars
6
Forks
3
Avg merge
7h 44m
Merged PRs (30d)
2

Description

After implementing the "no value" and "any value", it is possible that range facets with one of those two selected end up being hidden because there are no results for their associated property. We should ensure facets are always visible when they are filtering results, so the user can see they are doing that, and can remove the filtering.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file or test is named. Start by reviewing the range-facet handling introduced by pull request 260 and trace how facets with selected “no value” or “any value” filters are rendered. Done means an active facet remains visible and the user can remove its filter even when no results exist for the associated property.

Written by the indexing model from the issue text.

Assessment

Tech stack
elasticsearch, php
Domain
search
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.