The case is the following:
"View One" and "View Two" are using the Megarow table format. "View One" has views megarow links in which there is a link "view nodes" to "View Two" with a contextual filter. "View Two" also has megarow links with a link "view node" to /node/%. When you click on "view node", the rendered node appears correctly, but when you close the megarow it also closes the parent megarow in which "View Two" is rendered.

The patch attached fixes this by closing only the first parent of the close button and removes the first parent <tr> of the .views-megarow-content element.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

vtcore created an issue. See original summary.

vtcore’s picture

Attached a patch.

bocaj’s picture

Status: Active » Reviewed & tested by the community

I had the same issue. This patch worked great!

vtcore’s picture

Priority: Normal » Major

Can we see this committed any time soon?

  • Artusamak committed 6ff7a28 on 7.x-1.x authored by vtcore
    Issue #2741843 by vtcore: Nested megarow closes parent
    
Artusamak’s picture

Status: Reviewed & tested by the community » Fixed

It's committed, thank you for the patch and the tests.

Status: Fixed » Closed (fixed)

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