8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-12-22 23:13:46 +00:00

fix de 582430d5afa6447f558448118a66fb3d3fabca44

This commit is contained in:
Gabriel Le Bouder 2018-08-11 02:54:50 +02:00 committed by chirac
parent e68e2634ea
commit e515a5dfb9

View file

@ -349,7 +349,6 @@ def get_words(query):
return words
@can_view_all(User, Machine, Cotisation)
def get_results(query, request, params):
"""The main function of the search procedure. It gather the filters for
each of the different words of the query and concatenate them into a
@ -408,6 +407,7 @@ def get_results(query, request, params):
@login_required
@can_view_all(User, Machine, Cotisation)
def search(request):
""" La page de recherche standard """
search_form = SearchForm(request.GET or None)
@ -425,6 +425,7 @@ def search(request):
@login_required
@can_view_all(User, Machine, Cotisation)
def searchp(request):
""" La page de recherche avancée """
search_form = SearchFormPlus(request.GET or None)