mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-14 06:42:16 +00:00
Use the base class for query
This commit is contained in:
@@ -389,7 +389,7 @@ class HrBlacklistList(ListView):
|
||||
|
||||
def get_queryset(self):
|
||||
|
||||
obj_list = self.model.objects.all()
|
||||
obj_list = super(HrBlacklistList, self).get_queryset()
|
||||
|
||||
self.query = self.request.GET.get('q', None)
|
||||
self.order = self.request.GET.get('o', 'id')
|
||||
|
||||
Reference in New Issue
Block a user