Add Status Filter

Junyor - January 7, 2008 - 20:59
Project:Members
Version:5.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:needs review
Description

This patch adds a status filter to members views. Previously, only active users were displayed. However, I have a need to display blocked users, too.

AttachmentSize
contrib-5.members.status.junyor.patch8.77 KB

#1

Junyor - January 7, 2008 - 20:59
Status:active» needs review

#2

Junyor - January 10, 2008 - 14:40

Fixed a broken query.

AttachmentSize
contrib-5.members.status2.junyor.patch 8.78 KB

#3

Junyor - January 15, 2008 - 01:23

A new version of the patch that hides blocked users from non-admins.

AttachmentSize
contrib-5.members.status3.junyor.patch 8.81 KB

#4

malc_b - February 12, 2008 - 19:44

I tried patch 2 since I might want to display blocked users and I could just limit the page access instead. Behaviour is odd but then so is member. Authorised user alone shows no users (before it showed all but no roles). Select all my roles and the table is right, but that does mean I can only show a blocked user of a role type and if they have just applied they won't have one.

 
 

Drupal is a registered trademark of Dries Buytaert.