Make user ID a sortable column in user management
This commit is contained in:
parent
9f0166502b
commit
a54f19424e
|
|
@ -14,6 +14,7 @@
|
|||
<?php else: ?>
|
||||
<table class="table-stripped">
|
||||
<tr>
|
||||
<th class="column-5"><?= $paginator->order(t('ID'), 'id') ?></th>
|
||||
<th class="column-18"><?= $paginator->order(t('Username'), 'username') ?></th>
|
||||
<th class="column-18"><?= $paginator->order(t('Name'), 'name') ?></th>
|
||||
<th class="column-15"><?= $paginator->order(t('Email'), 'email') ?></th>
|
||||
|
|
@ -26,7 +27,9 @@
|
|||
<?php foreach ($paginator->getCollection() as $user): ?>
|
||||
<tr>
|
||||
<td>
|
||||
<?= '#'.$user['id'] ?>
|
||||
<?= '#'.$user['id'] ?>
|
||||
</td>
|
||||
<td>
|
||||
<?= $this->url->link($this->text->e($user['username']), 'user', 'show', array('user_id' => $user['id'])) ?>
|
||||
</td>
|
||||
<td>
|
||||
|
|
|
|||
Loading…
Reference in New Issue