Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsminto2005-06-21 18:00:31 -0400
committersminto2005-06-21 18:00:31 -0400
commit3ee44ff23fcfaf1923f0301ca98df3e9ab576144 (patch)
treecb9f1f10f5d693a6ab95dffcd5d296bf4df5ad05 /org.eclipse.mylyn.tasks.ui
parente4fffd9c11e501d7ac2a7cee36466f959586b9ce (diff)
downloadorg.eclipse.mylyn.tasks-3ee44ff23fcfaf1923f0301ca98df3e9ab576144.tar.gz
org.eclipse.mylyn.tasks-3ee44ff23fcfaf1923f0301ca98df3e9ab576144.tar.xz
org.eclipse.mylyn.tasks-3ee44ff23fcfaf1923f0301ca98df3e9ab576144.zip
BugzillaSearchHit should contain the server that the hit was found onR_0_2_4
Diffstat (limited to 'org.eclipse.mylyn.tasks.ui')
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/bugzilla/BugzillaReportNode.java2
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/bugzilla/search/BugzillaMylarSearchOperation.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/bugzilla/BugzillaReportNode.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/bugzilla/BugzillaReportNode.java
index 54c282a66..6ac4c26a5 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/bugzilla/BugzillaReportNode.java
+++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/bugzilla/BugzillaReportNode.java
@@ -179,6 +179,6 @@ public class BugzillaReportNode {
}
public String getElementHandle() {
- return "<server-id>;" + hit.getId();
+ return hit.getServer() + ";" + hit.getId();
}
} \ No newline at end of file
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/bugzilla/search/BugzillaMylarSearchOperation.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/bugzilla/search/BugzillaMylarSearchOperation.java
index eb2661326..04f632e81 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/bugzilla/search/BugzillaMylarSearchOperation.java
+++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/bugzilla/search/BugzillaMylarSearchOperation.java
@@ -214,7 +214,7 @@ public class BugzillaMylarSearchOperation extends WorkspaceModifyOperation
if(isHit){
// make a search hit from the bug and then add it to the collector
- BugzillaSearchHit hit = new BugzillaSearchHit(bug.getId(), bug.getDescription(), "","","","","","","");
+ BugzillaSearchHit hit = new BugzillaSearchHit(bug.getId(), bug.getDescription(), "","","","","","","", bug.getServer());
try{
searchCollector.accept(hit);
}catch(CoreException e){

Back to the top