If you allow views_megarow_command_refresh_parent to update using a separate views display, it is possible to add more contextual filters to the views table.

when calling views_megarow_command_refresh_parent, add the display_id as well.
views_megarow_command_refresh_parent($entity_id, $display_id);

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

svdhout’s picture

Artusamak’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

jazzdrive3’s picture

This commit actually breaks the refresh parent command. For some reason, it missed this line of the patch:

if (display === undefined) display = table.attr('data-view-display');

jazzdrive3’s picture

Issue summary: View changes
Status: Closed (fixed) » Needs work
Artusamak’s picture

Status: Needs work » Fixed

Here is the follow-up commit, sorry for the delay if you could retest. http://drupalcode.org/project/views_megarow.git/commit/abd9d941a75c1d2ef...

Thanks for the feedback.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.