Skip to content

Commit

Permalink
crop.id add to master data management query
Browse files Browse the repository at this point in the history
  • Loading branch information
AdrienJaussaudGeosys committed Jun 17, 2024
1 parent bd97ee9 commit 3d3c6cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion geosyspy/services/master_data_management_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ def get_season_fields(self, season_field_ids: str) -> List[object]:
mdm_url: str = urljoin(
self.base_url,
GeosysApiEndpoints.MASTER_DATA_MANAGEMENT_ENDPOINT.value
+'/seasonfields?$fields=id,geometry,sowingDate,estimatedHarvestDate' #add other fields if needed
+'/seasonfields?$fields=id,geometry,sowingDate,estimatedHarvestDate,Crop.Id' #add other fields if needed
+'&Id=$in:' + '|'.join(season_field_ids)
+'&$limit=none'
)
Expand Down

0 comments on commit 3d3c6cc

Please sign in to comment.