reverting page but list r16817 , for compatibility with GBIF-D dataportals on production
authorAndreas Kohlbecker <a.kohlbecker@bgbm.org>
Tue, 18 Dec 2012 16:26:56 +0000 (16:26 +0000)
committerAndreas Kohlbecker <a.kohlbecker@bgbm.org>
Tue, 18 Dec 2012 16:26:56 +0000 (16:26 +0000)
cdmlib-remote/src/main/java/eu/etaxonomy/cdm/remote/controller/OccurrenceListController.java

index 378665c03ab1fb49354270254ff92bc7dde847b7..0be10de6d5258144fd5568129e3353d3e97a3864 100644 (file)
@@ -95,7 +95,7 @@ public class OccurrenceListController extends IdentifiableListController<Specime
     @RequestMapping(\r
             value = {"byAssociatedTaxon"},\r
             method = RequestMethod.GET)\r
-    public Pager<SpecimenOrObservationBase> doListByAssociatedTaxon(\r
+    public List<SpecimenOrObservationBase> doListByAssociatedTaxon(\r
                 @RequestParam(value = "taxonUuid", required = true) UUID taxonUuid,\r
                 @RequestParam(value = "relationships", required = false) UuidList relationshipUuids,\r
                 @RequestParam(value = "relationshipsInvers", required = false) UuidList relationshipInversUuids,\r
@@ -131,7 +131,7 @@ public class OccurrenceListController extends IdentifiableListController<Specime
 \r
         List<OrderHint> orderHints = null;\r
 \r
-        return service.pageByAssociatedTaxon(null, includeRelationships, associatedTaxon,\r
+        return service.listByAssociatedTaxon(null, includeRelationships, associatedTaxon,\r
                 maxDepth, pagerParams.getPageSize(), pagerParams.getPageIndex(),\r
                 orderHints, DEFAULT_INIT_STRATEGY);\r
 \r