Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
ippidb-web
Manage
Activity
Members
Labels
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
iPPIDB
ippidb-web
Commits
6ff5679d
Commit
6ff5679d
authored
6 years ago
by
Hervé MENAGER
Browse files
Options
Downloads
Patches
Plain Diff
correct slider default value is cutoff value is "minimal value"
cf #67 Former-commit-id: 76ab2801d1fe8455d132d103d8ec635c3249c9ce
parent
088471b0
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ippisite/ippidb/views.py
+3
-1
3 additions, 1 deletion
ippisite/ippidb/views.py
with
3 additions
and
1 deletion
ippisite/ippidb/views.py
+
3
−
1
View file @
6ff5679d
...
...
@@ -146,8 +146,10 @@ def process_cutoff_value(name, context, request, cutoff_dir='l'):
context
[
name
]
=
request
.
GET
.
get
(
name
)
filter_dict
=
{
name
+
'
__
'
+
cutoff_dir
+
'
te
'
:
context
[
name
]}
context
[
'
compounds
'
]
=
context
[
'
compounds
'
].
filter
(
**
filter_dict
)
el
se
:
el
if
cutoff_dir
==
'
l
'
:
context
[
name
]
=
context
[
name
+
'
_max
'
]
else
:
context
[
name
]
=
context
[
name
+
'
_min
'
]
return
context
def
compound_list
(
request
):
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment