First of all not sure if this is a bug or should be a feature request.

One can select User:picture as field but the same is not available to sort on (sorting users who have pictures to show first on a grid view)

CommentFileSizeAuthor
#2 views-user-picture-sort.patch782 bytesdawehner

Comments

dawehner’s picture

Category: bug » feature
Status: Active » Needs review

here is a easy patch, testing seams to work well, but needs review.

dawehner’s picture

StatusFileSize
new782 bytes

forget the patch,

ajayg’s picture

Status: Needs review » Reviewed & tested by the community

Yes it is working as expected. And also the code looks good :) Thank you for such a prompt reply.

ajayg’s picture

and for anyone planning to use this for sort, found that you need to have USer:picture in descending order to see the pictures first.

dawehner’s picture

or ascending if you don't want to show users with pictures :)

ajayg’s picture

Just want to bring to attention (if it helps) 7000+ users are OG affected by this. #537206: After upgrade, the faces view is not longer showing members with pictures first was orginally opened against OG. After this patch commited, OG will need a patch too. And I would say this is a bug since it worked in 5.x version of OG.

merlinofchaos’s picture

Status: Reviewed & tested by the community » Fixed

Committed!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.