Closed (fixed)
Project:
Views (for Drupal 7)
Version:
6.x-2.x-dev
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
4 Jul 2011 at 20:38 UTC
Updated:
19 Mar 2013 at 11:51 UTC
Sorry for the dumb question, but I've been trying to do this for ages...
How do you create a view that lists all posts that have been updated (not new posts, only updated posts - I dont want to use comment activity timestamp which lists new posts, updated posts and comments on posts).
Another way to put it is, in the node table I only want to see records where 'created' date is not equal to 'changed' date (when created=changed it means its a new post).
Thanks for any help as this has been driving me crazy.
Comments
Comment #1
dawehnerThis is currently not possible without custom coding.
In general you could either use some dirty hook_views_query_alter or write a real views integration and provide a filter which does what you want.
Therefore it's really really really helpful to read the api section of views help.
Views can't do this out of the box at the moment.
Comment #2
kars-t commentedHi
I am closing this issue to clean up the issue queue. Feel free to reopen the issue if there is new information and the problem still resides. If not please make sure you close your issues that you don't need any more.
Maybe you can get support from the local user group. Please take a look at this list at groups.drupal.org.
Comment #4
fourmi4x commentedHi, I need precisely that, here is a code for a custom module (in a custommodule.views.inc file) to alter the view query and show only revisions, not node creations: