Rocket.Chat icon indicating copy to clipboard operation
Rocket.Chat copied to clipboard

member list is randomly sorted

Open CvH opened this issue 4 years ago • 46 comments

Description:

The users at the memberlist are randomly sorted and it is difficult to find someone without actually using the search, /directory/users works properly in that regard. The "sort by" setting is also ignored for it.

Steps to reproduce:

  1. open the memberlist at the general channel

Expected behavior:

list the members in alphabetically

Actual behavior:

image

Server Setup Information:

  • Version of Rocket.Chat Server: 3.15.0
  • Operating System: Ubuntu
  • Deployment Method: snap
  • Number of Running Instances: 1
  • DB Replicaset Oplog: -
  • NodeJS Version: v12.22.1
  • MongoDB Version: 3.6.14

Client Setup Information

  • Desktop App or Browser Version: Chrome latest
  • Operating System: Win/Linux

Additional context

Relevant logs:

CvH avatar May 26 '21 07:05 CvH

Hi, I confirm. It's hard to say what it is sorted by. Certainly not by Full name or Username

emikolajczak avatar May 26 '21 08:05 emikolajczak

Confirm that issue. Users complaining about that.

ankar84 avatar Jun 01 '21 06:06 ankar84

First thing is please upgrade immediately to 3.14.4

See the release notes for why.

Has anyone tested this on either 3.14.4 or 3.15?

johncrisp avatar Jun 01 '21 07:06 johncrisp

@johncrisp currently running 3.15, still the same issue appears (updated issue description with new version)

CvH avatar Jun 02 '21 04:06 CvH

on 3.16, sorting by name seems to be working. but sorting by activity is totally random

ghost avatar Jul 08 '21 12:07 ghost

on 3.16, sorting by name seems to be working. but sorting by activity is totally random

on 3.17.1, still sorting by activity is random

ivanvsobolev-devops avatar Aug 17 '21 12:08 ivanvsobolev-devops

still a problem at the latest official version currently available 3.18.1

CvH avatar Nov 08 '21 09:11 CvH

3.18.2 same issue

ankar84 avatar Nov 18 '21 09:11 ankar84

4.3.1 same issue

CvH avatar Jan 10 '22 08:01 CvH

@dudanogueira @debdutdeb please take a look at that issue. It's not so critical in functionality aspect, it's a UI\UX bug, but very annoying to users.

ankar84 avatar Jan 11 '22 08:01 ankar84

So. Where is the solution?

AmiKonst avatar Feb 11 '22 11:02 AmiKonst

5.4 same issue

CvH avatar Dec 09 '22 09:12 CvH

@dudanogueira assign this issue to me i will commit & will i need to sort members by name or username

WYGIN avatar Jan 08 '23 11:01 WYGIN

@debdutdeb Hey there.. is this issue still open? can i take it?

varun-s22 avatar Jan 10 '23 14:01 varun-s22

I want to work on this issue please assign me this issue

kartikbh6614 avatar Jan 12 '23 08:01 kartikbh6614

Hi, I want to work on this issue, can you please assign me this issue?

Srishti-j18 avatar Jan 23 '23 19:01 Srishti-j18

I would like to solve this issue. please assign me this issue

Vip2799 avatar Jan 29 '23 11:01 Vip2799

Hi there, I want to work to fix this issue. But this is what I am getting while cloning Capture

Karan-Bhatta avatar Jan 29 '23 16:01 Karan-Bhatta

Anybody wanting to work on this, please go ahead; no need to assign to anybody. Thanks.

debdutdeb avatar Jan 29 '23 16:01 debdutdeb

Hi there, I want to work to fix this issue. But this is what I am getting while cloning Capture

Is this wsl?

debdutdeb avatar Jan 29 '23 16:01 debdutdeb

Hi there, I want to work to fix this issue. But this is what I am getting while cloning Capture

you need to clone the repo inside WSL if on windows it seems you are on git bash terminal

Rishabhg71 avatar Jan 29 '23 17:01 Rishabhg71

I want to work on this issue please assign me this issue.

dharmvir73 avatar Feb 08 '23 13:02 dharmvir73

Hey!! I want to work on this issue. I'm new here so I'm really excited to start contributing.

Gua00va avatar Feb 15 '23 18:02 Gua00va

Hey Please Assign this issue to me @debdutdeb . I want to work on this

eshan-003 avatar Feb 17 '23 13:02 eshan-003

Folks, again, no need to assign. If you want to work on this, the path would be: 1 - Propose a good sorting 2 - Identify where the current code is 3 - Explain how you want to fix 4 - Code/Improve the PR 5 - Submit to review 6 - If not approved/merge, back to 4

Consider that it uses this api to grab the list of members: https://developer.rocket.chat/reference/api/rest-api/endpoints/core-endpoints/channels-endpoints/members

https://github.com/RocketChat/Rocket.Chat/blob/7960ff94c0720d9df2d29d1e2d9f992b450821a4/apps/meteor/app/api/server/v1/channels.js#L503-L536

dudanogueira avatar Feb 23 '23 13:02 dudanogueira

I would like to contribute on this issue please assign it to me

sujaltangde avatar Jun 20 '23 15:06 sujaltangde

@sujaltangde https://github.com/RocketChat/Rocket.Chat/issues/22145#issuecomment-1441789857

Folks, again, no need to assign. If you want to work on this, the path would be: 1 - Propose a good sorting 2 - Identify where the current code is 3 - Explain how you want to fix 4 - Code/Improve the PR 5 - Submit to review 6 - If not approved/merge, back to 4

CvH avatar Jun 20 '23 15:06 CvH

can somebody help me find where this code is lying

zero-commit avatar Jul 28 '23 09:07 zero-commit

hello,i think i can fix this .please, assign it to me.

divyanshu255 avatar Aug 05 '23 17:08 divyanshu255

Would like to work on it. Please assign

harshbsharma avatar Oct 19 '23 11:10 harshbsharma