GSA / code-gov-web

DEPRECATED 🛑- Federal Source Code policy implementation.
Other
407 stars 110 forks source link

Browse Projects repository count does not reflect filter change #680

Closed RicardoAReyes closed 5 years ago

RicardoAReyes commented 5 years ago

The Browser Projects repository count does not change based on user's filter selection. The count is constant and not reflect the end user's filter action.

URL: https://code.gov/#!/browse-projects

How to replicate:

  1. Visit Browse Projects URL: https://code.gov/#!/browse-projects
  2. Filter by a Federal Agency, i.e. DOE (https://code.gov/#!/browse-projects?agencies=DOE)
  3. Notice that the repository count did not change.
  4. However, the footer pagination repository count did change based on filter selection.

See attached animation.

code_repository_count_error

Agencies have notified the issue and were concerned about the OSS not being indexed on Code.gov

Expectation:

froi commented 5 years ago

To give some context to this. I don't think this value is currently being calculated from the result set. It's a value that is provided by the API.

Example diractly from the API:

screenshot 2018-10-10 23 15 48

Here's an example form search results:

search_results

ftonato commented 5 years ago

I'll work on this.