Skip to content

Commit

Permalink
fix: export options on indexed/external ref pages
Browse files Browse the repository at this point in the history
  • Loading branch information
strogonoff committed Mar 17, 2022
1 parent 768f186 commit ed35930
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions main/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,7 @@ def browse_external_reference(request, dataset_id):
return render(request, 'browse/citation_details.html', dict(
dataset_id=dataset_id,
ref=ref,
available_serialization_formats=serializers.registry.keys(),
data={**data['bibitem'], 'sources': {dataset_id: data}},
**shared_context,
))
Expand Down Expand Up @@ -294,6 +295,7 @@ def browse_indexed_reference(request, dataset_id, ref):
dataset_id=dataset_id,
ref=ref,
data=data,
available_serialization_formats=serializers.registry.keys(),
**shared_context,
))

Expand Down

0 comments on commit ed35930

Please sign in to comment.