Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
vidjil
vidjil
Commits
f1ba8ece
Commit
f1ba8ece
authored
Dec 02, 2016
by
HERBERT Ryan
Browse files
sample_set/all.html missing sample_type for sort
Added missing parameter to request when sorting the sample_set list
parent
c42b4724
Changes
1
Hide whitespace changes
Inline
Side-by-side
server/web2py/applications/vidjil/views/sample_set/all.html
View file @
f1ba8ece
...
@@ -29,7 +29,7 @@
...
@@ -29,7 +29,7 @@
{{ for header in fields: }}
{{ for header in fields: }}
{{if isAdmin or header['public']:}}
{{if isAdmin or header['public']:}}
<td
class=
"{{if header['width']:}}column_{{=header['width']}}{{pass}} pointer"
<td
class=
"{{if header['width']:}}column_{{=header['width']}}{{pass}} pointer"
onclick=
"db.call('sample_set/all', {'sort' : '{{=header['sort']}}', 'filter' : '{{=request.vars["
filter
"]}}'
onclick=
"db.call('sample_set/all', {
'type': '{{=helper.get_type()}}',
'sort' : '{{=header['sort']}}', 'filter' : '{{=request.vars["
filter
"]}}'
{{
if
not
reverse
and
request.vars
["
sort
"
]=
=header['sort']
:
}}
,
'
reverse
'
:
true
{{
pass
}}
})"
>
{{
if
not
reverse
and
request.vars
["
sort
"
]=
=header['sort']
:
}}
,
'
reverse
'
:
true
{{
pass
}}
})"
>
{{=header['name']}}
{{=header['name']}}
</td>
</td>
...
...
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