Download & Extend

Views Integration for grouped Badges

Project:User Badges
Version:6.x-1.5
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

When using multiple Badges on a a user, "Views" gives the ability to show eighter one or all of the badges in a group. That is great so far!
But there are two issues that could need rework or at least documentation.

1. When choosing one Badge for a View, I have the ability to change the label for this Views-field, but I can not choose which of the different Badges to show a user might have.
2. When choosing all Badges for a View, I do not have the ability to change the label for this Views-field. So it is always labeled "Grouped User Badges".

Comments

#1

1. You should be getting a result row for every badge. This would mean a user with 3 badges is listed 3 times. Perhaps you are using some setting to avoid that.

This is more about views itself than this module, but I think you can probably influence it by selecting a sort order. The first badge in the sort order will appear first, and if you are limiting the results to one row/user, this would be the only one to appear.

2. I will look into that.

#2

subscribe

#3

+1

nobody click here