Skip to content

Commit

Permalink
Merge pull request #698 from TOMToolkit/feature/swift-facility
Browse files Browse the repository at this point in the history
get_facility_context_data needs the target to resolve it via Swifts r…
  • Loading branch information
jchate6 committed Oct 17, 2023
2 parents 7ee5576 + 26874a3 commit 864a114
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tom_observations/views.py
Expand Up @@ -223,7 +223,7 @@ def get_context_data(self, **kwargs):

# allow the Facility class to add data to the context
facility_class = self.get_facility_class()
facility_context = facility_class().get_facility_context_data()
facility_context = facility_class().get_facility_context_data(target=target)
context.update(facility_context)

return context
Expand Down

0 comments on commit 864a114

Please sign in to comment.