Skip to content

Commit

Permalink
fix: datatables filters
Browse files Browse the repository at this point in the history
  • Loading branch information
francesco-filicetti committed Nov 20, 2024
1 parent 503901d commit cd7c233
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions uniticket/uni_ticket/views/datatables.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,17 +65,8 @@ def get_queryset(self):
self.aqs = self.aqs.filter(
Q(ticket__code__icontains=text)
| Q(ticket__subject__icontains=text)
| Q(ticket__description__icontains=text)
| Q(ticket__created_by__first_name__icontains=text)
| Q(ticket__created_by__last_name__icontains=text)
| Q(ticket__compiled_by__first_name__icontains=text)
| Q(ticket__compiled_by__last_name__icontains=text)
#| Q(taken_by__first_name__icontains=text)
#| Q(taken_by__last_name__icontains=text)
| Q(ticket__closed_by__first_name__icontains=text)
| Q(ticket__closed_by__last_name__icontains=text)
| Q(ticket__input_module__ticket_category__name__icontains=text)
| Q(ticket__created__icontains=text)
)

def fill_data(self):
Expand Down

0 comments on commit cd7c233

Please sign in to comment.