Skip to content

Commit

Permalink
Expect search value from POST request
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnMwashuma committed Nov 7, 2024
1 parent c906d0b commit f546ceb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tally_ho/apps/tally/views/data/ballot_list_view.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def render_column(self, row, column):

def filter_queryset(self, qs):
tally_id = self.kwargs.get('tally_id')
keyword = self.request.GET.get('search[value]', None)
keyword = self.request.POST.get('search[value]', None)

if tally_id:
qs = qs.filter(tally__id=tally_id)
Expand Down

0 comments on commit f546ceb

Please sign in to comment.