Skip to content

fix(search): remove prequalified results#7222

Open
m-maillot wants to merge 2 commits intodevfrom
persist/remi/search-nopq
Open

fix(search): remove prequalified results#7222
m-maillot wants to merge 2 commits intodevfrom
persist/remi/search-nopq

Conversation

@m-maillot
Copy link
Copy Markdown
Contributor

No description provided.

Copy link
Copy Markdown
Collaborator

@revu-bot revu-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR Summary: Remove Pre-qualified Results

This PR removes the "pre-qualified" (PQ) results feature from search by setting withPQ = false across the codebase. The changes are minimal and focused.

File Lines Severity Issue
src/modules/recherche/query.ts 7–9 IMPORTANT withPQ parameter is misleading — default false makes the param vestigial
src/api/modules/search/controller.ts 14–16 IMPORTANT presearch() method is now a dead method — get() is never defined
app/recherche/page.tsx 42 MINOR Hardcoded 25 duplicates the default already set in query.ts

Overall: The core intent (disabling PQ) is correctly applied. However, there are a few maintainability concerns worth addressing before merging.

@devthejo devthejo temporarily deployed to build-review-auto April 8, 2026 10:02 — with GitHub Actions Inactive
@devthejo devthejo temporarily deployed to build-preproduction April 8, 2026 10:02 — with GitHub Actions Inactive
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud bot commented Apr 8, 2026

@tokenbureau
Copy link
Copy Markdown

tokenbureau bot commented Apr 8, 2026

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.

3 participants