Commit eaeea7ef authored by Bharat R's avatar Bharat R

fix url for sort

parent 0accef85
Pipeline #106987 failed with stage
in 3 minutes and 5 seconds
......@@ -86,7 +86,7 @@ Each template receives these variables:
if (!_.isEmpty(isSorted))
qsort = qsort.update({_sort: [colinfo.name, '-' + colinfo.name]}, 'del')
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 %>
</a>
<% }) %>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment