Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
alecs_myu
erp5
Commits
c2a686ef
Commit
c2a686ef
authored
May 03, 2018
by
Nicolas Wavrant
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_core: update to follow changes made to comparaison functions
parent
677d345a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
6 deletions
+1
-6
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Folder_search.py
.../SkinTemplateItem/portal_skins/erp5_core/Folder_search.py
+1
-6
No files found.
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Folder_search.py
View file @
c2a686ef
...
...
@@ -15,11 +15,6 @@ def sorted(seq):
# Note that we don't use queries, because we want to let the catalog filter out
# ignored parameters by itself.
usage_map
=
dict
(
min
=
'>='
,
max
=
'<'
,
ngt
=
'<='
,
nlt
=
'>'
,)
new_mapping
=
dict
(
ignore_hide_rows
=
1
)
query_list
=
[]
left_join_list
=
[]
...
...
@@ -52,7 +47,7 @@ for key in sorted(request.form.keys()):
# TODO: this is a quick and dirty implementation of what should be done by
# Query.asSearchTextExpression. Instead of keeping '%s_value_' and '%s_usage_',
# we'll simply keep the query.
new_mapping
[
real_key
]
=
'%s %s'
%
(
usage_map
[
value
]
,
new_mapping
[
real_key
])
new_mapping
[
real_key
]
=
'%s %s'
%
(
value
,
new_mapping
[
real_key
])
else
:
if
request
.
form
.
get
(
'%s_is_excluded_'
%
key
):
...
...
Write
Preview
Markdown
is supported
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