The entity parameter in the detail link shows only the title and the id of the entity. This way the detail view gets the wrong parameter for the exposed filter. I've solved this by passing the additional parameter 'TRUE' to Drupal::service('simplenews_stats.tools')->getEntityLabel($this->entity, TRUE). This way the entity type will be included in the entity parameter.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

kensae created an issue. See original summary.

kensae’s picture

Status: Active » Needs review

  • Damien LAGUERRE committed 588c1bf on 3.x
    Issue #3273513 by kensae: Link to Stats detail view for a newsletter is...
damien laguerre’s picture

Thank you !

damien laguerre’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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