Closed (won't fix)
Project:
Taxonomy Multi Editor
Version:
5.x-1.0
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
29 Aug 2007 at 18:58 UTC
Updated:
20 Aug 2008 at 13:28 UTC
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']);
Comments
Comment #1
dman commentedSorry, 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.
Comment #2
SolomonGifford commentedI'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