summaryrefslogtreecommitdiffstats
path: root/modules-available/statistics/templates
diff options
context:
space:
mode:
authorSimon Rettberg2020-04-16 12:32:43 +0200
committerSimon Rettberg2020-04-16 12:32:43 +0200
commitf5260ab67219a48bdc97aa7ffab5c1ed5845f2f5 (patch)
tree46a01714755d76f3427ab73feb80955d3dbbbd9a /modules-available/statistics/templates
parent[statistics] Show current user in client list (diff)
downloadslx-admin-f5260ab67219a48bdc97aa7ffab5c1ed5845f2f5.tar.gz
slx-admin-f5260ab67219a48bdc97aa7ffab5c1ed5845f2f5.tar.xz
slx-admin-f5260ab67219a48bdc97aa7ffab5c1ed5845f2f5.zip
[statistics] Make sort order in client list match the location tree
It's still not showing the actual tree, but sorting is the same as the location list now, but obviously skipping locations where no clients match the display filter.
Diffstat (limited to 'modules-available/statistics/templates')
-rw-r--r--modules-available/statistics/templates/clientlist.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules-available/statistics/templates/clientlist.html b/modules-available/statistics/templates/clientlist.html
index 6fee9f27..e9d0aeca 100644
--- a/modules-available/statistics/templates/clientlist.html
+++ b/modules-available/statistics/templates/clientlist.html
@@ -128,7 +128,7 @@
</div>{{/nohdd}}
</td>
<td data-sort-value="{{realcores}}">{{lang_realCores}}: {{realcores}}<div class="small">{{cpumodel}}</div></td>
- <td data-sort-value="{{locationname}}">{{locationname}}</td>
+ <td data-sort-value="{{location.sort}}">{{location.name}}</td>
</tr>
{{/rows}}
</tbody>