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
cto
g1
Commits
eaeea7ef
Commit
eaeea7ef
authored
Nov 28, 2019
by
Bharat R
👀
Browse files
fix url for sort
parent
0accef85
Pipeline
#106987
failed with stage
in 3 minutes and 5 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
src/formhandler.template.html
View file @
eaeea7ef
...
@@ -86,7 +86,7 @@ Each template receives these variables:
...
@@ -86,7 +86,7 @@ Each template receives these variables:
if
(!
_.isEmpty
(
isSorted
))
if
(!
_.isEmpty
(
isSorted
))
qsort =
qsort.update({_sort:
[
colinfo.name
,
'
-
'
+
colinfo.name
]},
'
del
')
qsort =
qsort.update({_sort:
[
colinfo.name
,
'
-
'
+
colinfo.name
]},
'
del
')
var
active =
_.includes(args['_sort'],
op
+
colinfo.name
)
%
>
var
active =
_.includes(args['_sort'],
op
+
colinfo.name
)
%
>
<a
class=
"dropdown-item urlfilter <%- active ? 'active': '' %>"
href=
"<%- qsort.update({_sort: [op + colinfo.name]}, active ? 'del': 'add').toString() %>"
>
<a
class=
"dropdown-item urlfilter <%- active ? 'active': '' %>"
href=
"<%- qsort.update({
[namespace + '
_sort
']
: [op + colinfo.name]}, active ? 'del': 'add').toString() %>"
>
<
%
-
title
%
>
<
%
-
title
%
>
</a>
</a>
<
%
})
%
>
<
%
})
%
>
...
...
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