How to use alter in hook_views_query_alter

by Ram   Last Updated February 13, 2018 13:07 PM

Please help me to add below join in view query alter.

LEFT JOIN field_data_field_update_date fdfud ON fdfud.entity_id = (select distinct ud.entity_id from field_data_field_projects ud where ud.field_projects_target_id = node.nid and ud.bundle = 'project_update' group by ud.entity_id desc limit 1)



Related Questions


Alter the moderation state in the Content view Drupal 8

Updated February 28, 2018 21:07 PM