Add a select all/none checkbox to the list view.

naught101 - October 9, 2009 - 02:46
Project:Revision Deletion
Version:6.x-1.x-dev
Component:User interface
Category:feature request
Priority:minor
Assigned:Unassigned
Status:closed
Description

When viewing a node's revision with Revision Deletion list takeover enabled, most of the revisions are checked by default. In most cases, that's probably a sane default, however in others it would make sense to start with none checked. A useful work around would be to have a "select all/select none" check box in the table header (first cell, where it currently says "delete"), which, if changed, would change all the check boxes below it to the same status with javascript.

Even better would be for it to abide by the rules from the Revision Deletion settings (such as "Never check original revision").

This is not a killer feature, but it would definitely be useful for nodes with lots of revisions (In my case, I have a bunch of nodes with a handful of spam revisions each, but some have more non-spam revisions than spam, and others are vice-versa)

#1

NancyDru - October 9, 2009 - 13:56
Status:active» postponed (maintainer needs more info)

Even better would be for it to abide by the rules from the Revision Deletion settings (such as "Never check original revision").

It should be following the rules, and does on my test site. Can you detail an instance where it is not following the rules, please? As a matter of fact, the check box on the current revision should be disabled.

#2

NancyDru - October 9, 2009 - 15:19

With some misgivings about people getting themselves into trouble, you now have a "select all" check box (included in 6.x-1.0-rc2).

#3

naught101 - October 10, 2009 - 00:48

NancyDru: I simply meant that it would be nice if the select all/noe javascript followed the rules. The php works fine as it is. I'm happy to call this closed.

#4

NancyDru - October 10, 2009 - 06:16
Status:postponed (maintainer needs more info)» closed

Well, "select all" is a simple call to include canned jquery stuff. I'm not JS savvy, so writing such code is beyond me.

 
 

Drupal is a registered trademark of Dries Buytaert.