Closed Bug 528649 Opened 15 years ago Closed 15 years ago

Summary for forums always includes Issue <reason> Description...

Categories

(support.mozilla.org :: Search, defect, P3)

defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: paulc, Assigned: paulc)

References

()

Details

(Whiteboard: sumo_only)

Attachments

(1 file)

After AAQ, all thread summaries have this format:
----
Issue
<Issue here>
Description
<description here>

etc...

We may want to consider stripping off this first part, to make search results more useful.
By "first part" of course I meant all text up to and including "Description"
Yeah, the summary should start with <description here>. Part of the v3 search, so sumo_only.
Whiteboard: sumo_only newsearch
Priority: -- → P3
Attached patch v1Splinter Review
This should do it. Pardon my mistakes if any, I'm a regex amateur.
Attachment #413774 - Flags: review?(james)
Comment on attachment 413774 [details] [diff] [review]
v1

Looks good.
Attachment #413774 - Flags: review?(james) → review+
r56669
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Flags: in-litmus?
Paul, can you summarize a quick testcase, here?  Thanks!
Only forum headings in this format should be affected:
---
Issue: (heading)
Issue text here.
Description: (heading)
Description text here.
---

Summary before this fix:
Issue: Issue text here. Description: Description text here. ...

Summary after this fix:
Description text here. ...
See for example: http://support.mozilla.com/en-US/forum/1/487989 (and any recent Support Fforum threads that came in after AAQ)
Verified FIXED on http://support-stage.mozilla.org/search.php?where=all&locale=en-US&q=don%27t+show+me+the+initial+reason; its summary is:

Don't show me the initial reason !! URL of affected sites http:// !! User Agent Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2b4pre) Gecko/20091123 Namoroka/3.6b4pre......, which doesn't include the " Issue

Firefox is having problems with certain web sites" text.
Status: RESOLVED → VERIFIED
Whiteboard: sumo_only newsearch → sumo_only
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: