UI: Search Domains Returns Unrelated Results
- Dominant language
- Python
- Stars
- 30
- Forks
- 22
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 22
Description
# 🐛 Summary #
The current functionality of searching by “domain, vuln type, port, service, and IP” is not working as expected. Specifically, when entering a domain search, the search results are greater than the intended results. The results returned are being tied to the results per page, which in most cases is greater than the number of domains expected in the search result.
There are bugs with searching by port and vulnerabilities that can be found in issue #21
## To reproduce ##
Steps to reproduce the behavior:
1. Navigate to search feature.
2. Enter the domain search "Awesome" (exact domain names are required).
3. Scroll through past the intended results
## Expected behavior ##
When searching by domain, only the results matching that domain name should appear.
## Actual behavior ##
When a search is entered, the initial results may be the domain requested. After that, the page is populated with domains equal to the size of the actual search. For example, if "Awesome" yielded 11 results, the dashboard gets populated with 22 total results, with the rest being filler content.
## Any helpful log output or screenshots ##
In this screenshot, "Awesome" yields 11 actual results, but displays 22 total results.
Add any screenshots of the problem here.
Contributor guide
Research direction
Start at the dashboard's search feature and reproduce the domain search using the exact term "Awesome". Trace how matching results and pagination populate the dashboard, and compare the behavior with issue #21 for related search bugs. Done means only domains matching the entered name are displayed, without filler results beyond the actual matches.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- frontend, search
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100