Skip to content

Commit

Permalink
Merge branch 'master' into batch_edit
Browse files Browse the repository at this point in the history
  • Loading branch information
susanodd committed Jun 22, 2024
2 parents d672e5a + c969cca commit 080f347
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion signbank/dictionary/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -2310,7 +2310,7 @@ def package(request):

def info(request):
import guardian
user_datasets = guardian.shortcuts.get_objects_for_user(request.user, 'view_dataset', Dataset)
user_datasets = guardian.shortcuts.get_objects_for_user(request.user, 'change_dataset', Dataset)
user_datasets_names = [dataset.acronym for dataset in user_datasets]

# Put the default dataset in first position
Expand Down

0 comments on commit 080f347

Please sign in to comment.