Closed Bug 308053 Opened 19 years ago Closed 19 years ago

DMO search should pay attention to the number of results

Categories

(developer.mozilla.org Graveyard :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: Dolske, Assigned: deb)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b4) Gecko/20050908 Firefox/1.4
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b4) Gecko/20050908 Firefox/1.4

If I search for a word on DMO, above the results (and below) are text/links to
view the previous 20, the next 20, and for setting the per-page results to
20/50/100/250/500. That's useful for big searches, but for small searches it's
just clutter.

For example, a search for "foobar" currently returns 3 results. There's no
reason to include the "previous 20" text (on the first page?!), or the "next 20"
link (there's only 3 total!).

I also don't really see any point in offering a results-per-page value greater
than the number of results. If the  search returns 30 results, only the "20" and
"50" options would be useful. In fact, just labeling the maximum value as "All"
would seem a bit clearer. [unless this is sticky, in which case it would need to
be a specific number]

Reproducible: Always
This is a MediaWiki bug, and should be reported at http://bugzilla.wikimedia.org/

Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → INVALID
Component: developer.mozilla.org → Infrastructure
Product: mozilla.org → Mozilla Developer Center
QA Contact: qa → infrastructure
Version: other → unspecified
Component: Deki Infrastructure → Other
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.