Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Nounous
re2o
Commits
e515a5df
Commit
e515a5df
authored
Aug 11, 2018
by
Boudy
Committed by
chirac
Aug 12, 2018
Browse files
fix de
582430d5
parent
e68e2634
Changes
1
Hide whitespace changes
Inline
Side-by-side
search/views.py
View file @
e515a5df
...
...
@@ -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
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment