Closed
Bug 532216
Opened 16 years ago
Closed 15 years ago
Distinguish between searches from the text box and via clicks with a URL parameter
Categories
(support.mozilla.org :: Knowledge Base Software, task, P2)
support.mozilla.org
Knowledge Base Software
Tracking
(Not tracked)
VERIFIED
FIXED
1.5.1
People
(Reporter: cww, Assigned: jsocol)
Details
(Whiteboard: sumo_only)
Attachments
(2 files, 1 obsolete file)
1.17 KB,
patch
|
paulc
:
review+
|
Details | Diff | Splinter Review |
1.00 KB,
patch
|
paulc
:
review+
|
Details | Diff | Splinter Review |
Now that we have the new start page, the clickable searches dominate searches. We should distinguish what people search for (typing) vs what they click on by adding a URL parameter so we can track on omniture.
Assignee | ||
Comment 2•16 years ago
|
||
This is essentially the same as bug 532214, and they're both trivial to implement. Adding to 1.5.1 for now.
Severity: normal → minor
OS: Linux → All
Priority: -- → P2
Hardware: x86 → All
Target Milestone: --- → 1.5.1
Assignee | ||
Comment 3•16 years ago
|
||
I tried to fix bug 532214 and accidentally started patching this, so -> me. Sorry to step on your toes, Paul.
Assignee: paulc → james
Assignee | ||
Comment 4•15 years ago
|
||
This adds a "qs" parameter, roughly for "query source" that's either 's' for 'search' or 'h' for 'home'. It doesn't add the parameter to the sidebar, but that's easy.
Attachment #417505 -
Flags: review?(paulc)
Comment 5•15 years ago
|
||
Comment on attachment 417505 [details] [diff] [review]
extra parameter on searchs
WFM.
Attachment #417505 -
Flags: review?(paulc) → review+
Updated•15 years ago
|
Whiteboard: update sidebar search
Assignee | ||
Comment 6•15 years ago
|
||
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Comment 7•15 years ago
|
||
Looks good on https://support-stage.mozilla.org/en-US/kb/:
<a class="small" href='/search.php?q=clear+cache&where=all&locale=en&qs=h'>clear cache</a>,
Should I wait for the sidebar to get the parameter added?
Assignee | ||
Comment 8•15 years ago
|
||
Changed in the sidebar.
Updated•15 years ago
|
Whiteboard: update sidebar search → update sidebar search on prod
Comment 9•15 years ago
|
||
If I search from http://support-stage.mozilla.org/en-US/kb/Ask+a+question, I get URLs like:
http://support-stage.mozilla.org/search.php?q=red+panda&locale=en-US&where=all -- no qs=s there.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 10•15 years ago
|
||
I think it's cache, try logging in.
Comment 11•15 years ago
|
||
This makes mozgn2 use the sidebar module. Before reviewing, remember assign the sidebar search module to theme=mozgn2.css
Attachment #417559 -
Flags: review?(james)
Assignee | ||
Updated•15 years ago
|
Attachment #417559 -
Flags: review?(james) → review-
Assignee | ||
Comment 12•15 years ago
|
||
Comment on attachment 417559 [details] [diff] [review]
fix for mozgn2
This is a big change and rather outside the scope of this bug. Fixing mozcommon/searchbar.tpl is the correct solution here.
Assignee | ||
Comment 13•15 years ago
|
||
Adding the qs=s parameter to the form in mozcommon/searchbar.tpl, which is should take care of this most places.
Attachment #417559 -
Attachment is obsolete: true
Attachment #417808 -
Flags: review?(paulc)
Comment 14•15 years ago
|
||
Comment on attachment 417808 [details] [diff] [review]
mozcommon/searchbar.tpl patch
Still, we should try and use either the DB or the template to avoid situations like this in the future. What do you think we should do?
Attachment #417808 -
Flags: review?(paulc) → review+
Assignee | ||
Comment 15•15 years ago
|
||
r57918
(In reply to comment #14)
> Still, we should try and use either the DB or the template to avoid situations
> like this in the future. What do you think we should do?
I disagree. I don't think moving a large, common section of the template into the database is a reasonable solution here.
Status: REOPENED → RESOLVED
Closed: 15 years ago → 15 years ago
Resolution: --- → FIXED
Comment 16•15 years ago
|
||
What I'm saying is that we currently have the sidebar in the template in some cases and not in others. We should make it consistent, whether it is in the DB or in the template.
Verified FIXED on http://support-stage.mozilla.org/en-US/kb/Ask+a+question; now results in URLs like http://support-stage.mozilla.org/search.php?where=all&locale=en-US&qs=s&q=firefox+crashes&sa=.
(Tested from the sidebar on that results page, too.)
Status: RESOLVED → VERIFIED
Assignee | ||
Updated•15 years ago
|
Whiteboard: update sidebar search on prod → sumo_only
Assignee | ||
Updated•15 years ago
|
Status: VERIFIED → RESOLVED
Closed: 15 years ago → 15 years ago
Assignee | ||
Comment 18•15 years ago
|
||
Reopening to commit to branches/1.5.1_temp. Will re-resolve after patches are committed.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Comment 19•15 years ago
|
||
On branch, r62428
Status: REOPENED → RESOLVED
Closed: 15 years ago → 15 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•