Revision: 1079
http://treebase.svn.sourceforge.net/treebase/?rev=1079&view=rev
Author: rvos
Date: 2012-02-20 21:39:26 +0000 (Mon, 20 Feb 2012)
Log Message:
-----------
Make sure it doesn't try to parse non-numerical identifiers as integers
Modified Paths:
--------------
trunk/treebase-web/src/main/webapp/WEB-INF/pages/search/taxonSearch.jsp
Modified: trunk/treebase-web/src/main/webapp/WEB-INF/pages/search/taxonSearch.jsp
===================================================================
--- trunk/treebase-web/src/main/webapp/WEB-INF/pages/search/taxonSearch.jsp 2012-02-20 21:24:31 UTC (rev 1078)
+++ trunk/treebase-web/src/main/webapp/WEB-INF/pages/search/taxonSearch.jsp 2012-02-20 21:39:26 UTC (rev 1079)
@@ -13,7 +13,7 @@
// These are the mappings from inferred search term types to search predicates for this scope
var predicates = {
'integer' : [ 'tb.identifier.ncbi', 'tb.identifier.ubio', 'tb.identifier.taxon', 'tb.identifier.taxon.tb1' ],
- 'id' : [ 'tb.identifier.ncbi', 'tb.identifier.ubio', 'tb.identifier.taxon', 'tb.identifier.taxon.tb1' ],
+ 'id' : [ 'tb.identifier.taxon', 'tb.identifier.taxon.tb1' ],
'word' : [ 'tb.title.taxon', 'tb.title.taxonLabel', 'tb.title.taxonVariant' ],
'doi' : [ 'prism.doi' ] // this doesn't work yet, we have no search on doi
};
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|