Skip to main content
added 17 characters in body; edited tags
Source Link

I am creatincreating a viewView in Drupal 7Drupal 7 for a particular content type. I want to add filter to show nodes which are updatedadd filter to show nodes which are updated. When I am adding Node Update Date field, it is asking for operator and Value to compare with. But I can not provide Updated date of each node.

Then I also tried hook_views_query_alterhook_views_query_alter to alter the query. When I am adding Query Value to node.created field it take it as a string or you can say Value.

Can someone help me to achieve this?

I am creatin a view in Drupal 7 for a particular content type. I want to add filter to show nodes which are updated. When I am adding Node Update Date field, it is asking for operator and Value to compare with. But I can not provide Updated date of each node.

Then I also tried hook_views_query_alter to alter the query. When I am adding Query Value to node.created field it take it as a string or you can say Value.

Can someone help me to achieve this?

I am creating a View in Drupal 7 for a particular content type. I want to add filter to show nodes which are updated. When I am adding Node Update Date field, it is asking for operator and Value to compare with. But I can not provide Updated date of each node.

Then I also tried hook_views_query_alter to alter the query. When I am adding Query Value to node.created field it take it as a string or you can say Value.

Can someone help me to achieve this?

Source Link

How to show only updated nodes in VIEWS

I am creatin a view in Drupal 7 for a particular content type. I want to add filter to show nodes which are updated. When I am adding Node Update Date field, it is asking for operator and Value to compare with. But I can not provide Updated date of each node.

Then I also tried hook_views_query_alter to alter the query. When I am adding Query Value to node.created field it take it as a string or you can say Value.

Can someone help me to achieve this?