|
[HepData-svn] r1923 - in trunk/hepdata-webapp: . src/main/java/cedar/hepdata/webapp/queryblackhole at projects.hepforge.org blackhole at projects.hepforge.orgFri Jan 29 16:06:53 GMT 2016
Author: watt Date: Fri Jan 29 16:06:53 2016 New Revision: 1923 Log: Fix broken search for 'all records'. Update ApacheSnapshots repository in pom.xml. Modified: trunk/hepdata-webapp/pom.xml trunk/hepdata-webapp/src/main/java/cedar/hepdata/webapp/query/ConstructQueryPaper.java Modified: trunk/hepdata-webapp/pom.xml ============================================================================== --- trunk/hepdata-webapp/pom.xml Thu Jan 28 17:46:22 2016 (r1922) +++ trunk/hepdata-webapp/pom.xml Fri Jan 29 16:06:53 2016 (r1923) @@ -291,7 +291,8 @@ --> <repository> <id>ApacheSnapshots</id> - <url>http://people.apache.org/repo/m2-snapshot-repository</url> + <!-- <url>http://people.apache.org/repo/m2-snapshot-repository</url> --> + <url>http://repository.apache.org/snapshots</url> <snapshots><enabled>true</enabled></snapshots> <releases><enabled>false</enabled></releases> </repository> Modified: trunk/hepdata-webapp/src/main/java/cedar/hepdata/webapp/query/ConstructQueryPaper.java ============================================================================== --- trunk/hepdata-webapp/src/main/java/cedar/hepdata/webapp/query/ConstructQueryPaper.java Thu Jan 28 17:46:22 2016 (r1922) +++ trunk/hepdata-webapp/src/main/java/cedar/hepdata/webapp/query/ConstructQueryPaper.java Fri Jan 29 16:06:53 2016 (r1923) @@ -206,8 +206,8 @@ } } else if(reference != null) { return Reference(reference,flag,_session);} - else if(spiresid==null&&inspireid==null&&doi==null&&redid==null&&author==null&&dsreaction==null&&experiment==null&&date==null&&reference==null&&reaction==null&&observable==null&&sqrts==null){ - return Keyword(queryString,flag,_session); + else if(spiresid==null&&inspireid==null&&doi==null&&redid==null&&author==null&&dsreaction==null&&experiment==null&&date==null&&reference==null&&reaction==null&&observable==null&&sqrts==null&&!queryString.equals("all records")){ + return Keyword(queryString,flag,_session); } else{ return Physics(experiment,date,datetype,reaction,observable,sqrts,sqrtstype,flag,_session); } }
More information about the HepData-svn mailing list |