Members-5.x.tar.gz installed great but sorting logic seems to be a problem.

Clicking on a column header does re-order the rows but there's no sense to the ordering, alphabetical or otherwise.

Obviously, in order for me to make good use of this module, it would be great to apply A-Z logic instead of this randomness.

Drupal 5.1
Apache 2.0.55
PHP 4.4.2-1.1
MySQL 5.0.24a-Debian_9-log

CommentFileSizeAuthor
#4 class_sort.jpg31.01 KBSoTadmin

Comments

silurius’s picture

Version: 4.7.x-1.x-dev » master

Changing version to HEAD to gain better visibility, even though this is 5.x.

tostinni’s picture

Do you have some datas to test it because it works fine for me even for dates.

wmostrey’s picture

Version: master » 5.x-1.x-dev
Assigned: Unassigned » wmostrey

Indeed for me too everything works just fine. Do you have this online somewhere?

SoTadmin’s picture

StatusFileSize
new31.01 KB

I just did a little testing on my site using Members 5.x-1.x-dev. It sorts perfectly on the default fields. Sorting on an added filed is when it fails.

I can give someone temporary access to my site or provide additional screenshots. Whatever would help.

jackson

oadaeh’s picture

I noticed this on a site that was upgraded from 4.7. I think it may have something to do with the fact that the profile data is stored in different locations in the database between 4.7 and 5.

wmostrey’s picture

I really can't reproduce, I added some test-fields and data with the profile module and the sorting is always correct.
Are you using the latest versions of both Drupal and the Members module? Do you have modules installed that could interfere with this?

vito_swat’s picture

It's problem for me also but i think it's not considered with members module. The prob;lem is that if user register (or is created by admin) and sets profile data in register time they are not copied to profile table but resides in user. User have to edit his profile at least once to move this data to profile table. There was an issue about this but I can't find it right now.

wmostrey’s picture

Status: Active » Postponed (maintainer needs more info)

Vito_swat, here is more information about your issue:

I'm not sure this is related to this issue though.

oadaeh’s picture

I say apply the profile.module patch that Drumm committed in the second link to your local copy and see if that fixes the problem. I believe the odd sorting behavior is because that data is stored in one of two locations, but only being sorted on one of the locations. Thus, part of the data that's being sorted is empty and causing weird sorting patterns.

vito_swat’s picture

I think this is related, because after I went to my users/members profiles and simply confirmed, sorting in members is working perfectly. I have to look at this patch to profile module.

wmostrey’s picture

Status: Postponed (maintainer needs more info) » Closed (won't fix)