| Summary: | Global search: Default search page can not recognize current file system as scope. | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | libing wang <libingw> | ||||||
| Component: | Client | Assignee: | libing wang <libingw> | ||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | mamacdon | ||||||
| Version: | 4.0 | Flags: | mamacdon:
review+
|
||||||
| Target Milestone: | 4.0 RC2 | ||||||||
| Hardware: | PC | ||||||||
| OS: | Windows 7 | ||||||||
| Whiteboard: | |||||||||
| Bug Depends on: | |||||||||
| Bug Blocks: | 419178 | ||||||||
| Attachments: |
|
||||||||
|
Description
libing wang
Created attachment 236351 [details]
Patch file
Created attachment 236375 [details]
Second patch after Mark's first refview
Mark, thanks for the review suggestion. I made the second patch so that the search URL uses an additional parameter to decide if we should use the root location from the resource. After you + it, I will remove the scope search from related link. But the action item from the editor page still has the "scope search" when an item is selected. That says: 1. The "global" search URL always use a "location" when the URL is generated for the page link, with a "useRootLocation=true" 2.The scope search URL is similar but without that useRootLocation param. This is good, thanks for the update. + Thanks, Mark. Pushed the fix with http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=8ee9f0dad68394645414f575a22aa1b2ef73fd79. |