Closed Bug 948795 Opened 11 years ago Closed 5 years ago

Filtered search is not informed to the user

Categories

(developer.mozilla.org Graveyard :: Search, defect, P5)

defect

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: icaaq, Unassigned)

Details

(Whiteboard: [points:2][lod:2])

1. Press Cmd+N to open a new browser window, then type https://developer.mozilla.org/en-US/search?q=text in the address 2. See that the search explanation below the heading "results" says: "2556 documents found for "text" in English. · Displaying 1-10 of 2556 search results." 3. filter the search result on the topic "games" https://developer.mozilla.org/en-US/search?q=text&topic=games 4. See that the search explanation says: "3 documents found for "text" in English. · Displaying all results." I think that the filter should somehow be mentioned in the search explanation, for example: "3 documents found for "text" in English, filtered on Topic: "games" · Displaying all results." if multiple filters are used: "3 documents found for "text" in English, filtered on Topic: "games", "HTML" · Displaying all results." and "3 documents found for "text" in English, filtered on Topic: "games" and Document type: "Tools" · Displaying all results."
Component: Design → Search
Priority: -- → P5
The result strings appear in the search template: https://github.com/mozilla/kuma/blob/7e83c6bebdfb7f86087f5c8d4092a813a9cbf788/kuma/search/jinja2/search/results.html#L66-L134 Since this was filed, we've added a default list of topics. I don't think we should list them all in the results string, which would result in: 1038 documents found for "find" in English (US), filtered on topics: "APIs and DOM", "CSS", "Canvas", "HTML", "HTTP", "JavaScript", "Mobile", "Open Web Apps", "SVG", "Web Development", "WebExtensions", "WebGL". Displaying All results. We have also remove the Document Type filter, so that should be removed. My proposal is to customize on these three cases: * Default filters applied: 1038 documents found for "find" in English (US) across the default topics. * Non-default filters: 959 documents found for "find" in English (US) across selected topics. * All topics: 2754 documents found for "find" in English (US) across all topics. This is low priority for staff, because 1) site search is used by a small percentage of visitors, and 2) we suspect that topic filters is not a useful feature, and should be removed.
Whiteboard: [points:2][lod:2]
MDN Web Docs' bug reporting has now moved to GitHub. From now on, please file content bugs at https://github.com/mdn/sprints/issues/ and platform bugs at https://github.com/mdn/kuma/issues/.
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WONTFIX
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.