Closed Bug 1512523 Opened 10 months ago Closed 10 months ago

Limit the number of returned matches

Categories

(Firefox :: Address Bar, enhancement, P2)

enhancement

Tracking

()

RESOLVED FIXED
Firefox 66
Tracking Status
firefox66 --- fixed

People

(Reporter: mak, Assigned: mak)

References

(Blocks 1 open bug)

Details

(Whiteboard: [fxsearch])

Attachments

(1 file)

Currently we sort-of respect maxRichResults... in reality we return more than those results. Actually we should instead allow the view to define the wanted number of results.

That value should be in the QueryContext.
(In reply to Marco Bonardo [::mak] from comment #0)
> Actually we should instead allow the view to define the
> wanted number of results.
>
> That value should be in the QueryContext.

UrlbarInput already sets maxResults when creating the QueryContext but that number appears to be ignored later on.
Assignee: nobody → mak77
Status: NEW → ASSIGNED
Pushed by mak77@bonardo.net:
https://hg.mozilla.org/integration/autoland/rev/38a1a2c9b3b6
Limit the number of returned matches in the Quantum Bar. r=adw
https://hg.mozilla.org/mozilla-central/rev/38a1a2c9b3b6
Status: ASSIGNED → RESOLVED
Closed: 10 months ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 66
You need to log in before you can comment on or make changes to this bug.