most played command now ordered by play time

issue #68
This commit is contained in:
RaidMax 2019-03-02 17:29:09 -06:00
parent af3aea77bc
commit 82bae772f0
2 changed files with 2 additions and 2 deletions

View File

@ -39,7 +39,7 @@ namespace IW4MAdmin.Plugins.Stats.Commands
where stats.ServerId == serverId where stats.ServerId == serverId
where client.Level != EFClient.Permission.Banned where client.Level != EFClient.Permission.Banned
where client.LastConnection >= thirtyDaysAgo where client.LastConnection >= thirtyDaysAgo
orderby stats.Kills descending orderby stats.TimePlayed descending
select new select new
{ {
alias.Name, alias.Name,

View File

@ -1,4 +1,4 @@
<ul class="nav nav-tabs border-top border-bottom nav-fill" role="tablist" id="stats_top_players"> <ul class="nav nav-tabs border-top border-bottom nav-fill row" role="tablist" id="stats_top_players">
<li class="nav-item"> <li class="nav-item">
<a class="nav-link active top-players-link" href="#server_0" role="tab" data-toggle="tab" aria-selected="true" data-serverid="0">All Servers</a> <a class="nav-link active top-players-link" href="#server_0" role="tab" data-toggle="tab" aria-selected="true" data-serverid="0">All Servers</a>
</li> </li>