Skip to content

fix(search): find a model number typed after the brand or name - #167

Merged
NotAFlightRisk merged 1 commit into
mainfrom
fix/search-brand-and-model
Nov 13, 2026
Merged

NotAFlightRisk merged 1 commit into
mainfrom
fix/search-brand-and-model

Conversation

@NotAFlightRisk

Copy link
Copy Markdown
Owner

Category

UI

Overview

Searching a model number on its own worked, but put the brand in front ("samsung SM-G973F", "oneplus a6003") and nothing came back. The number gets split into letters and digits, so none of the bits matched by themselves. Now a run of words that joins up into a phone's model number (or the end of one, like G991B for SM-G991B) counts as a match, and outranks a near-miss on the name.

Additional Info

Ran every model number we have with its brand in front, before and after: 1527 found nothing before, 5 do now. 1630 of 1637 land on their own phone first, and the other 7 are numbers that two pages share. Normal name searches come out the same.

@github-actions github-actions Bot added the ui Pages, components, styles and search label Nov 13, 2026
@NotAFlightRisk
NotAFlightRisk merged commit 62dc672 into main Nov 13, 2026
9 checks passed
@NotAFlightRisk
NotAFlightRisk deleted the fix/search-brand-and-model branch November 13, 2026 04:22

This branch was successfully deployed

1 active deployment
Preview — 2aaa8e5c Deployed Nov 13, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ui Pages, components, styles and search

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant