diff --git a/productMods/edit/forms/js/addConcept.js b/productMods/edit/forms/js/addConcept.js index 8167d16b..59627773 100644 --- a/productMods/edit/forms/js/addConcept.js +++ b/productMods/edit/forms/js/addConcept.js @@ -163,7 +163,7 @@ var addConceptForm = { var i; for(i = 0; i < arrayLen; i++) { var concept = resultsArray[i]; - if(concept.bestMatch == "true") { + if(concept.bestMatch != "false") { bestMatchResults.push(concept); } } diff --git a/src/edu/cornell/mannlib/vitro/webapp/utils/ConceptSearchService/BeanToJsonSerializer.java b/src/edu/cornell/mannlib/vitro/webapp/utils/ConceptSearchService/BeanToJsonSerializer.java index c4144ce9..14e7b5db 100644 --- a/src/edu/cornell/mannlib/vitro/webapp/utils/ConceptSearchService/BeanToJsonSerializer.java +++ b/src/edu/cornell/mannlib/vitro/webapp/utils/ConceptSearchService/BeanToJsonSerializer.java @@ -1,4 +1,7 @@ +/* $This file is distributed under the terms of the license in /doc/license.txt$ */ + /* + * $Id: BeanToJsonSerializer.java 66350 2007-08-20 21:11:41Z xluan $ * * Copyright 2006- Revolution Health Group. All rights reserved.