Skip to:
Content

BuddyPress.org

Opened 12 years ago

Closed 10 years ago

Last modified 10 years ago

#4129 closed enhancement (duplicate)

Sort criteria for group member list

Reported by: sooskriszta's profile sooskriszta Owned by:
Milestone: Priority: low
Severity: normal Version: 1.5.4
Component: Groups Keywords: 2nd-opinion
Cc:

Description

The member lists (e.g. Group member list) are sorted by default by date joined.

Ideally, the site admin should be able to define how the list would be sorted - alphabetically, by most activity, by latest activity, etc.

Additionally, site admin should be able to check a box to say whether or not the other members shall be able to sort on the fly the way they can sort groups...

Change History (23)

#1 @DJPaul
12 years ago

  • Keywords 2nd-opinion added
  • Severity changed from major to normal

I'm inclined to say that this is something that could be implemented in a theme, rather than core, and that we don't want to introduce this to BP-Default, but want a second opinion.

#2 @sooskriszta
12 years ago

Please bear in mind that realistically, most stuff left to themes will not be implemented. There are not that many BP-supporting themes out there, and the move seems to be to enable BP to play nice with generic WP themes #3741

Given this, it might be a good idea to include this simple but useful functionality in BP default.

#3 @sooskriszta
12 years ago

  • Component changed from Core to Theme

#4 @sooskriszta
12 years ago

I mean should be part of bundled theme (not BP Default)

#5 @boonebgorges
12 years ago

  • Milestone changed from Awaiting Review to Future Release
  • Priority changed from normal to low

This is a good idea in theory. It would be nice if we could simply port over the functionality from the Members component, but it won't work wholesale because of some subtle differences in the way the two loops work, and in the way AJAX functions in the two places. So it will take quite a bit of work.

I think it's worth implementing, but not worth prioritizing. Patches welcome.

#6 @boonebgorges
12 years ago

  • Summary changed from Sort criteria for member list to Sort criteria for group member list

#7 @sooskriszta
12 years ago

  • Version changed from 1.5.4 to 1.5.5

#8 @boonebgorges
12 years ago

  • Version 1.5.5 deleted

#9 @wrowlands
12 years ago

  • Component changed from Theme to Core
  • Severity changed from normal to critical
  • Version set to 1.5.6

I believe this should be part of the core functionality of BuddyPress. Just think about it... A person comes to the members list page and does a search for a member's name (or other profile fields) and finds that the member does not show up since the member has not been active (last active is the default sort). At that point most users will not immediately notice that there is a function to sort alphabetically which is the assumed search criteria. At that point most users would leave the page thinking that the searched-for member/item did not exist in the database. If they then notice that there is a way to sort alphabetical and then they click on the sort by alphabetical in the sort by drop-down, the entire list of members comes up and the sort by criteria goes away. This makes for a VERY poor user experience. Also, there is no way to search for a person's last name. I am amending the php files to fix this for our sites, although the average web developer out there does not know how to do this. If this kind of code was part of sites such as LinkedIn or Facebook, those sites would lose members quickly as simple search functions are the basic functions users expect. I would recommend rethinking this and adding the admin the ability to change the default sort order... and also to be able to sort by last name.

#10 @boonebgorges
12 years ago

  • Milestone Future Release deleted
  • Resolution set to duplicate
  • Severity changed from critical to normal
  • Status changed from new to closed

wrowlands - Thanks for the feedback. But I think you're thinking of something different. This ticket is a discussion of adding sort criteria to the *group member* list. What you are requesting is that the admin should be able to set the default order on the main Members directory. This is a reasonable suggestion, but deserves its own ticket.

Now that I look at this ticket a bit more closely, I can see that there are already enhancement tickets open for the issue in question. See #1110 and #921. Closing this one as a duplicate.

#11 @sooskriszta
12 years ago

  • Resolution duplicate deleted
  • Status changed from closed to reopened

Actually @boonebgorges this ticket refers to both issues. What @wrowlands is saying is reflected in the original ticket as "site admin should be able to define how the list would be sorted - alphabetically, by most activity, by latest activity, etc."

#12 @boonebgorges
12 years ago

Yeah, I guess you're right. In that case, please open a separate ticket for that. (Anytime you find yourself starting a new paragraph along the lines of "Additionally" or "Also", it probably means it should have its own ticket.)

#13 @boonebgorges
12 years ago

  • Milestone set to Future Release

#14 @sooskriszta
12 years ago

I guess the stuff I say with "additionally" is already in #1110 so we are all set!

#15 @sooskriszta
12 years ago

I suppose the work on 1.7 theme is in full swing, so perhaps time to revisit this?

#16 @sooskriszta
11 years ago

  • Version changed from 1.5.6 to 1.5.4

#17 @sooskriszta
11 years ago

  • Component changed from Core to Template Pack

#18 @boonebgorges
11 years ago

  • Component changed from Template Pack to Groups

See also #4482. I plan to look at that ticket, and perhaps also this one, once there are unit tests for the query methods in question.

#19 @sooskriszta
10 years ago

#4482 seems fixed now. But this one is pending.

Last edited 10 years ago by sooskriszta (previous) (diff)

#20 @boonebgorges
10 years ago

  • Milestone Future Release deleted
  • Resolution set to duplicate
  • Status changed from reopened to closed

This has been completed. See #921 and r7948 r7949. Marking as duplicate.

#21 @sooskriszta
10 years ago

#921 looks good.

Do you think per #4129 admin should be able to define DEFAULT sort order?

#22 @boonebgorges
10 years ago

Do you think per #4129 admin should be able to define DEFAULT sort order?

I think it'd be nice if this value were customizable by filter. I think it's way overkill to have an admin-level option for it. I also think that the same treatment would need to apply to all member lists, not just group members. This latter consideration makes me think that the request deserves a separate enhancement ticket.

Note: See TracTickets for help on using tickets.