From c5f3864a6b703a48eaebf752a79095cb574b6666 Mon Sep 17 00:00:00 2001 From: susanodd Date: Thu, 19 Dec 2024 08:21:07 +0100 Subject: [PATCH] Fixed bugs in Handshape List View, selected datasets --- signbank/dictionary/adminviews.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/signbank/dictionary/adminviews.py b/signbank/dictionary/adminviews.py index f40e81fa..d7d67e11 100755 --- a/signbank/dictionary/adminviews.py +++ b/signbank/dictionary/adminviews.py @@ -3466,7 +3466,8 @@ def get_context_data(self, **kwargs): context['handshapefieldchoicecount'] = Handshape.objects.filter(machine_value__gt=1).count() - context['selected_datasets'] = get_selected_datasets(request) + selected_datasets = get_selected_datasets(self.request) + context['selected_datasets'] = selected_datasets dataset_languages = get_dataset_languages(selected_datasets) context['dataset_languages'] = dataset_languages