From 860d7159217c4d35660e4b7625e476a6733c5bd5 Mon Sep 17 00:00:00 2001 From: Todd Dembrey <todd.dembrey@torchbox.com> Date: Thu, 15 Feb 2018 16:06:57 +0000 Subject: [PATCH] Rename the page query to be funds --- opentech/apply/dashboard/tables.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/opentech/apply/dashboard/tables.py b/opentech/apply/dashboard/tables.py index bae28936e..52b19b700 100644 --- a/opentech/apply/dashboard/tables.py +++ b/opentech/apply/dashboard/tables.py @@ -48,10 +48,10 @@ class Select2ModelMultipleChoiceFilter(Select2MultipleChoiceFilter, filters.Mode class SubmissionFilter(filters.FilterSet): - round = Select2ModelMultipleChoiceFilter(queryset=get_used_rounds, label="Rounds") - page = Select2ModelMultipleChoiceFilter(queryset=get_used_funds, label='Funds') + round = Select2ModelMultipleChoiceFilter(queryset=get_used_rounds, label='Rounds') + funds = Select2ModelMultipleChoiceFilter(name='page', queryset=get_used_funds, label='Funds') status = Select2MultipleChoiceFilter(name='status__contains', choices=status_options, label='Status') class Meta: model = ApplicationSubmission - fields = ('page', 'round', 'status') + fields = ('funds', 'round', 'status') -- GitLab