[HepData-svn] r1636 - trunk/hepdata-webapp/src/main/java/cedar/hepdata/webapp/components

blackhole at projects.hepforge.org blackhole at projects.hepforge.org
Thu Jul 4 12:49:14 BST 2013


Author: whalley
Date: Thu Jul  4 12:49:14 2013
New Revision: 1636

Log:
addinf red number for insert.html search

Modified:
   trunk/hepdata-webapp/src/main/java/cedar/hepdata/webapp/components/DisplayHtmlInsert.java

Modified: trunk/hepdata-webapp/src/main/java/cedar/hepdata/webapp/components/DisplayHtmlInsert.java
==============================================================================
--- trunk/hepdata-webapp/src/main/java/cedar/hepdata/webapp/components/DisplayHtmlInsert.java	Fri Jun 28 12:24:41 2013	(r1635)
+++ trunk/hepdata-webapp/src/main/java/cedar/hepdata/webapp/components/DisplayHtmlInsert.java	Thu Jul  4 12:49:14 2013	(r1636)
@@ -18,6 +18,9 @@
             if(_paper.getSpiresId() != null){
                 irn = _paper.getSpiresId();
             }
+            else if(_paper.getRedId() != null){
+                irn = _paper.getRedId();
+            }
             else{
                 irn = _paper.getHepdataId();
             }


More information about the HepData-svn mailing list