Closed
Bug 460233
Opened 16 years ago
Closed 16 years ago
Allow switching between new and old sumo search depending on admin parameter
Categories
(support.mozilla.org :: Knowledge Base Software, task)
support.mozilla.org
Knowledge Base Software
Tracking
(Not tracked)
VERIFIED
FIXED
0.7.3
People
(Reporter: nkoth, Assigned: ecooper)
References
()
Details
(Whiteboard: sumo_only)
Attachments
(2 files)
3.65 KB,
patch
|
nkoth
:
review+
|
Details | Diff | Splinter Review |
395.70 KB,
image/png
|
Details |
Need to direct current search box to the new sumo search instead of the existing one in the presence of a specific query string var
Reporter | ||
Updated•16 years ago
|
Target Milestone: 0.7.2 → 0.7.3
Comment 1•16 years ago
|
||
Also needs an admin UI to allow enable/disable new search.
Assignee: nelson → smirkingsisyphus
Reporter | ||
Comment 2•16 years ago
|
||
Right now, to use the new search, you need to manually enter queries into tiki-newsearch.php There is no way to use the existing search boxes (main screen), and search module on right column. We want an admin setting in the TikiWiki admin panel to switch between using Original search (current) and Sphinx search (new). This switch will make the search boxes use tiki-newsearch.php instead. (The uery string part was just an idea to use the new search). On second thoughts, maybe query string var is not the best way to implement this, as just template modifications might work.
Reporter | ||
Updated•16 years ago
|
Summary: Use new sumo search in the presence of specific query string var → Allow switching between new and old sumo search depending on admin parameter
Reporter | ||
Comment 3•16 years ago
|
||
Actually, the query string part might come in useful in testing. So that it is possible to override the admin setting to test the new search , without actually having to change the admin setting (which will affect all users).
Can you do that also?
> (The uery string part was just an idea to use the new search). On second
> thoughts, maybe query string var is not the best way to implement this, as just
> template modifications might work.
Assignee | ||
Comment 4•16 years ago
|
||
The on/off switch is a pref set in tiki-admin_newsearch.php. Turning it on, will make it active in all searchlogo search boxes, which are the searches with the Firefox graphics around them. The optional query string used to call the new search version of the search box happens with "&ns=y". This has to be specified and loaded by the page with the search box.
Attachment #349807 -
Flags: review?(nelson)
Reporter | ||
Comment 5•16 years ago
|
||
This patch seems to make the search box on the forum pages not appear. e.g. at tiki-forums.php. Does it affect you too?
Assignee | ||
Comment 6•16 years ago
|
||
Hmm...It works for me. Entering a search will take you to tiki-newsearch with &where=f.
Assignee | ||
Comment 7•16 years ago
|
||
The only why that it won't be showing up is that if it's not called from templates/styles/mozfr/tiki.tpl (it's a static call, so that shouldn't happen) or if there's a syntax error in searchbar.tpl...but if that were the case it shouldn't be appearing anywhere.
Reporter | ||
Comment 8•16 years ago
|
||
it seems to have resolved itself for me - maybe it is a smarty cache problem or something. (In reply to comment #7) > The only why that it won't be showing up is that if it's not called from > templates/styles/mozfr/tiki.tpl (it's a static call, so that shouldn't happen) > or if there's a syntax error in searchbar.tpl...but if that were the case it > shouldn't be appearing anywhere.
Reporter | ||
Comment 9•16 years ago
|
||
Comment on attachment 349807 [details] [diff] [review] Ability to use tiki-newsearch.php from search boxes in r20226/r20227
Comment 10•16 years ago
|
||
Does this mean this bug is fixed?
Assignee | ||
Comment 11•16 years ago
|
||
It just occurred to me that the changes won't apply to the sidebar search box. It's a module, and it doesn't seem to be anywhere in my dev instance. If someone can point me in the right direction, I can make the needed changes to that as well.
Assignee | ||
Comment 12•16 years ago
|
||
Can someone with admin access on support-stage make sure to turn on the new search from tiki-newsearch.php? The switch for it is on the very top of the page.
Reporter | ||
Comment 13•16 years ago
|
||
Comment on attachment 349807 [details] [diff] [review] Ability to use tiki-newsearch.php from search boxes in r20226/r20227
Attachment #349807 -
Flags: review?(nelson) → review+
Reporter | ||
Updated•16 years ago
|
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Verified FIXED; http://support-stage.mozilla.org/tiki-admin_newsearch.php?redirect_to_newsearch=on leads searches to run on http://support-stage.mozilla.org/tiki-newsearch.php?locale=en-US&q=clearing&sa= (and return no results due to bug 464851.
Status: RESOLVED → VERIFIED
Updated•15 years ago
|
Whiteboard: sumo_only
You need to log in
before you can comment on or make changes to this bug.
Description
•