happycog / VMG-Chosen-Member

VMG Chosen Member - Fieldtype for Expression Engine 2 and 3
http://vectormediagroup.com
23 stars 11 forks source link

Member still shown in single tag when member changed group #6

Closed GDmac closed 9 years ago

GDmac commented 10 years ago

Thanks for this nice add-on. I limited selection to a single member group. With two members selected, the tagpair correctly will not show info for the member that has been moved to a different member group. The single tag however still outputs both members 3|4

GDmac commented 10 years ago

around line 148 (single tag) i added a check on group id (copied from tagpair)

if (!empty($this->settings['allowed_groups'])) $db->where_in('m.group_id', $this->settings['allowed_groups']);
mrw commented 10 years ago

So it seems like the issue is that it's enforcing the member group limit on the selection interface but not re-checking the saved data later. Sending this to @lukewilkins for his thoughts.

GDmac commented 10 years ago

this still on the radar?

mrw commented 10 years ago

Unfortunately we've been swamped so haven't had a chance to look at it yet. Sorry about that!

mrw commented 10 years ago

@GDmac, can you take a look at my comment here and see if the new version helps your tickets? It's a beta, so make sure to back up any data you have!