From cd062cf028d2158014316c4129880ad1d378aabf Mon Sep 17 00:00:00 2001 From: David Huynh Date: Wed, 17 Mar 2010 19:54:27 +0000 Subject: [PATCH] Minor bug: recon candidate's "id" field should return id, not name. git-svn-id: http://google-refine.googlecode.com/svn/trunk@312 7d457c2a-affb-35e4-300a-418c747d4874 --- src/main/java/com/metaweb/gridworks/model/ReconCandidate.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/metaweb/gridworks/model/ReconCandidate.java b/src/main/java/com/metaweb/gridworks/model/ReconCandidate.java index 10f6f02db..e59eeff1d 100644 --- a/src/main/java/com/metaweb/gridworks/model/ReconCandidate.java +++ b/src/main/java/com/metaweb/gridworks/model/ReconCandidate.java @@ -27,7 +27,7 @@ public class ReconCandidate implements HasFields, Jsonizable { public Object getField(String name, Properties bindings) { if ("id".equals(name)) { - return topicName; + return topicID; } else if ("guid".equals(name)) { return topicGUID; } else if ("name".equals(name)) {