Active
Project:
Views Grouping Row Limit
Version:
6.x-1.4
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 Feb 2011 at 05:42 UTC
Updated:
12 May 2012 at 03:06 UTC
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
Comment #1
daamy commentedI 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.
Comment #2
theunraveler commentedI 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?
Comment #3
theunraveler commentedComment #4
daamy commentedhi,
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.
Comment #5
daamy commentedwhen 'theme developer' is enabled it displays all the node also in the view preview pane.
Comment #6
theunraveler commented