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
188b35ab
Commit
188b35ab
authored
7 years ago
by
Hervé MENAGER
Browse files
Options
Downloads
Patches
Plain Diff
correct compound table custom columns parameters parsing
Former-commit-id: 7b9f4b81ac29826e63a67db04192e2d7e01eacaa
parent
d0bf5633
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ippisite/ippidb/views.py
+1
-1
1 addition, 1 deletion
ippisite/ippidb/views.py
with
1 addition
and
1 deletion
ippisite/ippidb/views.py
+
1
−
1
View file @
188b35ab
...
...
@@ -219,7 +219,7 @@ def compound_list(request):
display
=
'
v
'
compound_fields
=
{
f
.
name
:
f
.
verbose_name
for
f
in
Compound
.
_meta
.
get_fields
()
if
not
(
f
.
is_relation
)}
sort_by_options
=
{
sort_by_option
:
compound_fields
[
sort_by_option
]
for
sort_by_option
in
sort_by_options
}
fields
=
request
.
GET
.
get
(
'
fields
'
,[
'
id
'
,
'
common_name
'
,
'
molecular_weight
'
,
'
a_log_p
'
,
'
compound_action_pdb_ids
'
,
'
biblio_refs
'
])
fields
=
request
.
GET
.
get
list
(
'
fields
'
,[
'
id
'
,
'
common_name
'
,
'
molecular_weight
'
,
'
a_log_p
'
,
'
compound_action_pdb_ids
'
,
'
biblio_refs
'
])
return
render
(
request
,
'
compound_list.html
'
,
{
'
compounds
'
:
compounds
,
'
count
'
:
count
,
'
selected_ppis
'
:
selected_ppis
,
...
...
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