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

improve search #62

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

alok1304
Copy link

@alok1304 alok1304 commented Jan 2, 2025

Fixes #58

Task:

  1. Update stats wording after the search.
  2. Search box only searches for the license key or license name.
    I use the column-specific search API provided by DataTables. (source: https://datatables.net/reference/api/search())

Reference: #58

Also I attach my work in screenshot before and after.

  1. Update stats wording after the search.
  2. Search box only searches for the license key and license name.
  • Before:
    Screenshot 2025-01-02 220424
  • After:
    Screenshot 2025-01-02 220438

We can clearly see that in 1st screenshot it shows Showing 1 to 376 of 376 licenses. On 2nd screenshot we see that it shows Showing 51 licenses. Also we can see that here license is 51 because we only search for license key and name, not for all.

For Task : show search box on all pages, I tried I also add search box on all pages but the problem is that the search box on pages are not working when we search on it.

@alok1304
Copy link
Author

alok1304 commented Jan 2, 2025

@pombredanne can you please review this PR : )

@alok1304 alok1304 force-pushed the improve_search branch 5 times, most recently from 6f45c07 to d2062d3 Compare January 12, 2025 14:13
1. Update stats wording after the search.
2. Search box only searches for the license key or license name.

Reference: aboutcode-org#58
Signed-off-by: Alok Kumar <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Improve search
1 participant