excuse for my english

I'm using Views Grouping Row Limit to show only one item from each taxonomy term.
It works good if I'm not log in.
If I log in it display all the items of the taxonomy term.
Is there any way to solve this.

Thanks

Comments

daamy’s picture

I figured it out.
It is not compatible with devel module.
When I uninstall the devel module it works fine.
Can somebody tell me why it is not compatible with the devel module?

Thanks.

theunraveler’s picture

I can't seem to reproduce the problem; it works just fine for me with Devel enabled. Could you maybe paste the SQL query that Views is running here, so I can have a look?

Another question: does it work as expected in the views preview pane at the bottom of the view edit form?

theunraveler’s picture

Status: Active » Postponed (maintainer needs more info)
daamy’s picture

hi,

Its actually the 'theme developer' module which is creating the problem.
When the 'theme developer' is disabled it works fine both in the view preview pane and in the front end.
But when 'theme developer' is enabled it displays all the nodes.

here is the sql generated by the view module

SELECT node.nid AS nid, node.type AS node_type, term_data.tid AS term_data_tid, node_data_field_image_cache.field_image_cache_fid AS node_data_field_image_cache_field_image_cache_fid, node_data_field_image_cache.field_image_cache_list AS node_data_field_image_cache_field_image_cache_list, node_data_field_image_cache.field_image_cache_data AS node_data_field_image_cache_field_image_cache_data, node_data_field_image_cache.delta AS node_data_field_image_cache_delta, node.vid AS node_vid, node.status AS node_status FROM node node INNER JOIN term_node term_node ON node.vid = term_node.vid LEFT JOIN term_data term_data ON term_node.tid = term_data.tid LEFT JOIN content_field_image_cache node_data_field_image_cache ON node.vid = node_data_field_image_cache.vid WHERE (node.status <> 0) AND (node.type IN ('product','leather_product','modern_home','product_kit')) AND (term_node.tid IN (6, 4, 5, 2, 1, 3)) ORDER BY node_status DESC

thanks for developing this module.

daamy’s picture

when 'theme developer' is enabled it displays all the node also in the view preview pane.

theunraveler’s picture

Status: Postponed (maintainer needs more info) » Active