I have a view that generates document archive pages, thusly:

Content types Committee and Program.

A content type Document which can be related to a Committee or Program using entity reference field.

The view uses a contextual filter (the Content ID) to display documents for a Committee or Program.

A relationship is used to get the node title of the Committee or Program (excluded from display).

The display then uses Grouping Field to display that node title at the top of the generated page.

Easy-peasy! Except, when I have multiple displays in one View, the View will not save the grouping field information for more than one display. If I group another display, save it, and go back to the first one, the grouping for that display is gone. Behavior is the same in a View containing two blocks; for that one I just recreated the second block in its own View.

The only module that I installed between creating this view and the onset of the issue was Google Analytics. Disabling this module fixes the problem. However, I need both Google Analytics and this display. A patch for this one is beyond my Drupal Force skills.

TIA

Comments

ex DJ created an issue. See original summary.

DamienMcKenna’s picture

Project: Views (for Drupal 7) » Google Analytics
Component: page displays » Code

FYI Views is in core in D8, so this is a core issue. That said, given the problem arises when you enable the Google Analytics module, lets start there.

hass’s picture

Version: 8.x-3.x-dev » 8.x-2.x-dev
Status: Active » Postponed (maintainer needs more info)

Not sure what ga version you run, but I guess 2.x.

What is the path of your view? You may exclude it in ga settings... there are edge cases like full ajax that may have issues. Normal pages do not.

Without a technical analysis we cannot move the issue forward. If you have warnings or errors in dblog or browsers web development console it may be helpful.

If you cannot do this on your own you may need to contact me for payed support.

hass’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

No feedback.