# Make /admin/users/list sortable? (suggestion)

**URL:** https://meta.discourse.org/t/make-admin-users-list-sortable-suggestion/47649
**Category:** Feature
**Created:** [2016年七月22日 15:39 UTC](https://meta.discourse.org/t/make-admin-users-list-sortable-suggestion/47649 "2016-07-22T15:39:18Z")
**Posts on this page:** 8
**Page:** 2

<div class="post-metadata">

### Author: ![designbygio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/designbygio/32/122415_2.png) [@designbygio](https://meta.discourse.org/u/designbygio)
#### Post date: [2017年二月27日 16:44 UTC](https://meta.discourse.org/t/make-admin-users-list-sortable-suggestion/47649/23 "2017-02-27T16:44:56Z")

</div>

perfect. Here it is mine, waiting for yours 🙂

> <https://github.com/discourse/discourse/pull/4726>
>
> Added sortable functionality to admin users list using api \`order\` and \`ascendin…g\` in four different columns: \`Seen\` \`Topics Viewed\` \`Posts Read\` and \`Read Time\`
> 
> Related meta issue:
> https://meta.discourse.org/t/make-admin-users-list-sortable-suggestion/47649

---

<div class="post-metadata">

### Author: ![blake](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/blake/32/157322_2.png) [@blake](https://meta.discourse.org/u/blake)
#### Post date: [2017年二月27日 17:35 UTC](https://meta.discourse.org/t/make-admin-users-list-sortable-suggestion/47649/24 "2017-02-27T17:35:59Z")

</div>

sorry I didn’t update one of the above posts with valid order values, can you double check and make sure your pr is using the new order values:

```plaintext
created
last_emailed
seen
username
email
trust_level
days_visited
posts_read
topics_viewed
posts
read_time

```

[FEATURE: Add order logic to admin users controller · Pull Request #4721 · discourse/discourse](https://github.com/discourse/discourse/pull/4721/commits/0e6cb752dab3f1fd204f93e192b5626db066dd50#diff-63454b89e17af439cd8d2cfa0b4f29e7R13)

---

<div class="post-metadata">

### Author: ![designbygio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/designbygio/32/122415_2.png) [@designbygio](https://meta.discourse.org/u/designbygio)
#### Post date: [2017年二月27日 18:31 UTC](https://meta.discourse.org/t/make-admin-users-list-sortable-suggestion/47649/25 "2017-02-27T18:31:22Z")

</div>

sure but i will anyway double check and test it when your PR will be merged

---

<div class="post-metadata">

### Author: ![blake](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/blake/32/157322_2.png) [@blake](https://meta.discourse.org/u/blake)
#### Post date: [2017年二月27日 22:01 UTC](https://meta.discourse.org/t/make-admin-users-list-sortable-suggestion/47649/26 "2017-02-27T22:01:23Z")

</div>

@designbygio Okay my pr has been merged into master.

---

<div class="post-metadata">

### Author: ![designbygio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/designbygio/32/122415_2.png) [@designbygio](https://meta.discourse.org/u/designbygio)
#### Post date: [2017年二月28日 11:43 UTC](https://meta.discourse.org/t/make-admin-users-list-sortable-suggestion/47649/27 "2017-02-28T11:43:27Z")

</div>

many thanks @blake!  
Sorting is working perfectly now and my PR is ready to be merged 😃

---

<div class="post-metadata">

### Author: ![AstonJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/astonj/32/215041_2.png) [@AstonJ](https://meta.discourse.org/u/AstonJ)
#### Post date: [2017年三月3日 01:57 UTC](https://meta.discourse.org/t/make-admin-users-list-sortable-suggestion/47649/28 "2017-03-03T01:57:42Z")

</div>

While we’re on the topic… I wonder if we could have a ‘last post date’ added as well? Would be good way to quickly gauge activity over time.

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [2017年三月10日 14:20 UTC](https://meta.discourse.org/t/make-admin-users-list-sortable-suggestion/47649/29 "2017-03-10T14:20:58Z")

</div>

Ok, closing this now that it is done! thanks @designbygio !

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [2017年三月10日 14:21 UTC](https://meta.discourse.org/t/make-admin-users-list-sortable-suggestion/47649/30 "2017-03-10T14:21:03Z")

</div>



[上一頁](https://meta.discourse.org/t/make-admin-users-list-sortable-suggestion/47649.md?page=1)
