From: <jes...@us...> - 2010-09-27 12:26:51
|
Revision: 6596 http://geonetwork.svn.sourceforge.net/geonetwork/?rev=6596&view=rev Author: jesseeichar Date: 2010-09-27 12:26:45 +0000 (Mon, 27 Sep 2010) Log Message: ----------- 17683: extents will return up to 25 results now and all elements in query must be within the result Modified Paths: -------------- sandbox/geocat.ch/trunk/src/org/fao/geonet/services/extent/Search.java sandbox/geocat.ch/trunk/web/geonetwork/scripts/ed.js Modified: sandbox/geocat.ch/trunk/src/org/fao/geonet/services/extent/Search.java =================================================================== --- sandbox/geocat.ch/trunk/src/org/fao/geonet/services/extent/Search.java 2010-09-27 10:04:23 UTC (rev 6595) +++ sandbox/geocat.ch/trunk/src/org/fao/geonet/services/extent/Search.java 2010-09-27 12:26:45 UTC (rev 6596) @@ -218,7 +218,7 @@ } else if (filters.size() == 1) { return new DefaultQuery(featureType.typename, filters.get(0), properties); } else { - return new DefaultQuery(featureType.typename, filterFactory.or(filters), properties); + return new DefaultQuery(featureType.typename, filterFactory.and(filters), properties); } } Modified: sandbox/geocat.ch/trunk/web/geonetwork/scripts/ed.js =================================================================== --- sandbox/geocat.ch/trunk/web/geonetwork/scripts/ed.js 2010-09-27 10:04:23 UTC (rev 6595) +++ sandbox/geocat.ch/trunk/web/geonetwork/scripts/ed.js 2010-09-27 12:26:45 UTC (rev 6596) @@ -28,7 +28,7 @@ // _extent_acc made global in order to access it from updateExtentAutocompleter() window._acc = new Ajax.Autocompleter("xlink-s-extent", "xll", - "extent.search.list?numResults=10&property=desc&method=loose&format=gmd_bbox", + "extent.search.list?numResults=25&property=desc&method=loose&format=gmd_bbox", { method:'get', paramName: 'pattern', This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |