Problem/Motivation

Pagers don't seem to support url fragments.

https://somesite/somepage?someparam=somevalue#somefragment

If creating a url using tokens the fragments get lost somewhere on the way to page reload.

A pager which can keep fragments until the next reload would enable a lot of useful features (like jumping back to a comment, reopening the last selected tab, ...)

Maybe this can help.

code sample of a custom module:
https://www.drupal.org/project/drupal/issues/1293912#comment-13219514

module for links with fragments
https://www.drupal.org/project/menu_link_fragment

older patch for D7:
https://www.drupal.org/project/drupal/issues/1216628

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Comments

maxilein created an issue. See original summary.

maxilein’s picture

Issue summary: View changes
prudloff’s picture

Status: Active » Postponed (maintainer needs more info)

This module is not a pager, it only adds metadata with page URLs in <head>.
I don't think it would make sense to add fragments to this metadata, but maybe I'm missing something.

prudloff’s picture

Status: Postponed (maintainer needs more info) » Closed (works as designed)

No answer so I'm closing.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.