I have smaller job here. I need rewrite of "db_rewrite_sql" for custom module as I described in http://drupal.org/node/561526.

-need to add to "db_rewrite_sql" so it filters results by CCK field (check in "content_field_namjena" table if field "field_namjena_value" is "firma")
-also filter by taxonomy id from other vocabulary (check in "term_node" table if nid has some tid (passed by get method in url))

Comments

archard’s picture

Have you considered using my module http://drupal.org/project/term_node_count along with Views?

Marko B’s picture

It would be perfect if i could use DEPTH for counting and for filtering, as i need to count in number of nodes of childern of terms and also filter it by term with depth. Any plans for that maybe? :-)