Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Projects: Project counts should be updated and associate to search bar #9

Closed
leohuynguyenchi opened this issue Apr 20, 2024 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@leohuynguyenchi
Copy link
Owner

When we use the search bar to filter out projects, the project counts should be updated and associated to the searched projects

@leohuynguyenchi leohuynguyenchi converted this from a draft issue Apr 20, 2024
@leohuynguyenchi leohuynguyenchi moved this from Backlog to Ready in Open Source Project Kanban Apr 20, 2024
@PipoAT PipoAT self-assigned this Apr 20, 2024
@PipoAT PipoAT moved this from Ready to In progress in Open Source Project Kanban Apr 20, 2024
@PipoAT
Copy link
Collaborator

PipoAT commented Apr 20, 2024

I can take this on. I deleted a previous comment as I was wrong on how the search bar was implemented

@PipoAT
Copy link
Collaborator

PipoAT commented Apr 20, 2024

<div id="results" class="container hide">Found <span class="count"></span> results for <span class="query"></span></div>

this line of code already returns the number of search results

@PipoAT
Copy link
Collaborator

PipoAT commented Apr 20, 2024

opensource-project\static\js\projects.js

this is the file where we could alter the JS code to make it so that we can always display the count as indicated with the code provided

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

No branches or pull requests

3 participants