Use "Show only items where..." to sift results.

solomongifford - August 29, 2007 - 18:58
Project:Taxonomy Multi Editor
Version:5.x-1.0
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:won't fix
Description

Replace the two lines:
//$sql = "SELECT n.nid, title, type FROM {node} n ".$filter['join']." ORDER BY changed DESC";
//$result = pager_query(db_rewrite_sql($sql), variable_get('default_nodes_main', 10));

With the two lines:

$filter = node_build_filter_query();
$result = pager_query('SELECT n.nid, title, type FROM {node} n '. $filter['join'] .' INNER JOIN {users} u ON n.uid = u.uid '.$filter['where'] .' ORDER BY n.changed DESC', 50, 0, NULL, $filter['args']);

#1

dman - August 20, 2008 - 03:12
Status:needs review» won't fix

Sorry, is that a patch to taxonomy_multi_edit? I can't fit that anywhere :-(
I can't see where you mean, or what that does. Looks like a job for the node content admin page (core node.module) if anything ...

Or if you are talking about the "Assign categories" tab ... I agree that form could have a dozen more options added to it, but it starts to replicate the admin content page like that. Sorta boring.
I think what you need to do is use the normal content admin page admin/content/node to filter as needed, then use the (slightly hidden) "Update Option" there.
It means working a little bit blind, but the alternative is a lot of duplicated work.

EDIT:
http://drupal.org/node/21611
looks like that work has been attempted for 4.7
If someone wants to re-visit it for 5 that would be cool.

#2

solomongifford - August 20, 2008 - 13:28

I'll be honest and say I don't remember making that request...of course it was a year ago!

Thanks for looking into it however.

Solomon

 
 

Drupal is a registered trademark of Dries Buytaert.