Ticket #5592 (closed enhancement: fixed)

Opened 8 months ago

Last modified 8 months ago

Mass Select Users For Editing

Reported by: cpoteet Assigned to: cpoteet
Priority: normal Milestone: 2.5
Component: Administration Version:
Severity: normal Keywords: has-patch, dev-feedback
Cc: ryan

Description

I noticed that you can't check a checkbox and select all users in a similar way to mass editing comments/links. I went about creating this. The file contains a new JS function for the user page, I refactored a JS function, and I edited the UI for the edit users page.

Now, when a user clicks the input checkbox it will select all users in that specific role for editing (and unchecking as well).

The only thing to note is when a user adds a user the Ajax response doesn't pass in a class name (which I made the role) which the JS functions depends on. So if a user adds a user and then tries to select all users under that role then it will omit the one user from the Ajax response. I tried editing admin-ajax, but I am so sick of working on this I hope someone else can do it.

Attachments

wpsvn.patch.diff (7.2 kB) - added by cpoteet on 01/06/08 05:39:23.
Add Ability to Select Multiple Users
5592.diff (6.0 kB) - added by mdawaffe on 01/07/08 02:07:59.
patch compatible with ajax adding

Change History

01/06/08 05:39:23 changed by cpoteet

  • attachment wpsvn.patch.diff added.

Add Ability to Select Multiple Users

01/07/08 02:07:59 changed by mdawaffe

  • attachment 5592.diff added.

patch compatible with ajax adding

01/07/08 02:09:53 changed by mdawaffe

5592.diff

  1. Uses role ids rather than role names.
  2. Works with ajax added user rows.

01/07/08 20:38:49 changed by ryan

  • status changed from new to closed.
  • resolution set to fixed.

(In [6570]) Mass select for users from cpoteet and mdawaffe. fixes #5592