Skip to content

Commit

Permalink
Removed datastream and feature of interest field selection from obser…
Browse files Browse the repository at this point in the history
…vations
  • Loading branch information
kjlippold authored Nov 29, 2023
1 parent 710761b commit c7e7d93
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core/endpoints/observations/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,9 @@ def query_observations(
if feature_of_interest_ids:
observation_query = observation_query.filter(feature_of_interest_id__in=feature_of_interest_ids)

observation_query = observation_query.select_related(
'datastream', 'feature_of_interest'
)
# observation_query = observation_query.select_related(
# 'datastream', 'feature_of_interest'
# )

observation_query, result_exists = apply_observation_auth_rules(
user=user,
Expand Down

0 comments on commit c7e7d93

Please sign in to comment.