Skip to content

Commit a513964

Browse files
committed
add purl like to product search
1 parent 2604610 commit a513964

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/trustshell/products.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ def _get_roots(
222222
endpoint = ANALYSIS_ENDPOINT
223223

224224
# Use the paginated query function
225-
base_params = {"ancestors": ANCESTOR_COUNT, "q": f"{base_purl}@"}
225+
base_params = {"ancestors": ANCESTOR_COUNT, "q": f"purl~{base_purl}@"}
226226
ancestors = paginated_trustify_query(
227227
endpoint, base_params, auth_header, component_name=base_purl
228228
)

0 commit comments

Comments
 (0)