mirror of
https://git.v0id.ovh/n3wt-innov/n3wt-school.git
synced 2026-01-29 07:53:23 +00:00
fix: calcul nombre de pages dans chaque tab
This commit is contained in:
@ -74,7 +74,6 @@ class RegisterFormView(APIView):
|
||||
"""
|
||||
# Récupération des paramètres
|
||||
filter = request.GET.get('filter', '').strip()
|
||||
search = request.GET.get('search', '').strip()
|
||||
page_size = request.GET.get('page_size', None)
|
||||
establishment_id = request.GET.get('establishment_id', None)
|
||||
|
||||
@ -98,7 +97,6 @@ class RegisterFormView(APIView):
|
||||
registerForms_List = RegistrationForm.objects.filter(school_year=next_year)
|
||||
elif filter == 'historical':
|
||||
registerForms_List = RegistrationForm.objects.filter(school_year__in=historical_years)
|
||||
registerForms_List = bdd.getObjects(RegistrationForm, 'status', RegistrationForm.RegistrationFormStatus.RF_VALIDATED)
|
||||
else:
|
||||
registerForms_List = None
|
||||
|
||||
|
||||
Reference in New Issue
Block a user