[HepData-svn] r1755 - trunk/hepdata-webapp/src/main/java/cedar/hepdata/webapp/pages

blackhole at projects.hepforge.org blackhole at projects.hepforge.org
Thu Feb 27 12:58:04 GMT 2014


Author: watt
Date: Thu Feb 27 12:58:04 2014
New Revision: 1755

Log:
Add cdsId to constructQuery in PlotImage.java

Modified:
   trunk/hepdata-webapp/src/main/java/cedar/hepdata/webapp/pages/PlotImage.java

Modified: trunk/hepdata-webapp/src/main/java/cedar/hepdata/webapp/pages/PlotImage.java
==============================================================================
--- trunk/hepdata-webapp/src/main/java/cedar/hepdata/webapp/pages/PlotImage.java	Thu Feb 27 12:36:21 2014	(r1754)
+++ trunk/hepdata-webapp/src/main/java/cedar/hepdata/webapp/pages/PlotImage.java	Thu Feb 27 12:58:04 2014	(r1755)
@@ -117,6 +117,9 @@
         } else if (getQueryParam("ins") != null) {
             pid = getQueryParam("ins");
             qs += "p._inspireId = :pid";
+        } else if (getQueryParam("cds") != null) {
+            pid = getQueryParam("cds");
+            qs += "p._cdsId = :pid";
         } else if (getQueryParam("red") != null) {
             pid = getQueryParam("red");
             qs += "p._redId = :pid";


More information about the HepData-svn mailing list