@@ -66,7 +66,6 @@ public Response search(
6666 @ QueryParam ("fq" ) final List <String > filterQueries ,
6767 @ QueryParam ("show_entity_ids" ) boolean showEntityIds ,
6868 @ QueryParam ("show_api_urls" ) boolean showApiUrls ,
69- @ QueryParam ("show_my_data" ) boolean showMyData ,
7069 @ QueryParam ("query_entities" ) boolean queryEntities ,
7170 @ QueryParam ("metadata_fields" ) List <String > metadataFields ,
7271 @ QueryParam ("geo_point" ) String geoPointRequested ,
@@ -97,8 +96,8 @@ public Response search(
9796 objectTypeCountsMap .put (SearchConstants .UI_DATASETS , 0L );
9897 objectTypeCountsMap .put (SearchConstants .UI_FILES , 0L );
9998
100- // users can't change these (yet anyway )
101- boolean dataRelatedToMe = showMyData ; //getDataRelatedToMe() ;
99+ // hard-coded to false since dataRelatedToMe is only used by MyData (DataRetrieverAPI )
100+ boolean dataRelatedToMe = false ;
102101
103102 try {
104103 // we have to add "" (root) otherwise there is no permissions check
@@ -290,15 +289,6 @@ public boolean tokenLessSearchAllowed() {
290289 return tokenLessSearchAllowed ;
291290 }
292291
293- private boolean getDataRelatedToMe () {
294- /**
295- * @todo support Data Related To Me:
296- * https://github.com/IQSS/dataverse/issues/1299
297- */
298- boolean dataRelatedToMe = false ;
299- return dataRelatedToMe ;
300- }
301-
302292 private int getNumberOfResultsPerPage (int numResultsPerPage ) {
303293 /**
304294 * @todo should maxLimit be configurable?
0 commit comments