Memberlist - Select multiple plans

  • Stefan Poensgen
  • Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 5 months ago #114616 by Stefan Poensgen
Memberlist - Select multiple plans was created by Stefan Poensgen
It would be good if you could select several plans in the memberlist menu item.

Please Log in or Create an account to join the conversation.

  • Stefan Poensgen
  • Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 5 months ago #114617 by Stefan Poensgen
Replied by Stefan Poensgen on topic Memberlist - Select multiple plans
\components\com_osmembership\view\members\tmpl\default.xml
Row 10 add: multiple="true"

\components\com_osmembership\model\members.php
Row 102 replace
$query->where('tbl.plan_id = ' . (int) $this->state->id);
with
$query->where('tbl.plan_id IN (' . implode(',',$this->state->id) . ')');

Please Log in or Create an account to join the conversation.