Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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);
Comment | File | Size | Author |
---|---|---|---|
#1 | views_megarow-make-views_megarow_command_refresh_parent-work-with-other-displays-2028521-1.patch | 1.56 KB | svdhout |
Comments
Comment #1
svdhout CreditAttribution: svdhout commentedAdded patch
Comment #2
ArtusamakThanks it's committed > http://drupalcode.org/project/views_megarow.git/commit/2ae2b185e9db5d932...
Comment #4
jazzdrive3 CreditAttribution: jazzdrive3 commentedThis 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');
Comment #5
jazzdrive3 CreditAttribution: jazzdrive3 commentedComment #6
ArtusamakHere 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.