Skip to content

Fix of Languages/Technologies Filters on Projects and Homepage #4587

@t-will-gillis

Description

@t-will-gillis

Overview

We need to fix a bug affecting the project filters on the Projects and Home pages so that website visitors are provided accurate results from their selections.

Details

On the Projects and Homepage, the Project list can be filtered via various selections. It can be seen that some projects will not show up when they should when the "Languages/Technologies" filter is used. For example, if someone is searching for projects that match a.) the Program Area "Diversity / Equity / Inclusion" and that also b.) use CSS, the Write for All project will not be displayed even though it meets these two criteria. See the following screenshot for an example.

Example Screenshot

Screenshot-2023-04-30-211338

Action Items

  • Determine which projects this bug affects (so far, it appears to affect at least the Write for All and BallotNav projects and likely more)
  • Confirm that the bug coincides with projects that do not have "Technologies" listed
  • Note: In the /current-projects.js file, the filter code includes on lines 27-28 else if (filterName == 'technologies' ) then use the filterTitle = 'languages / technologies'. From these lines, it appears that if a project card doesn't have the technologies attribute, then it is ignored.
  • Change code as needed, then confirm with Docker that filter is working correctly.

Resources/Instructions

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions