Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[5.x]: View in a new tab for drafts opens different urls #14705

Closed
samuel-clara opened this issue Mar 26, 2024 · 2 comments
Closed

[5.x]: View in a new tab for drafts opens different urls #14705

samuel-clara opened this issue Mar 26, 2024 · 2 comments
Labels

Comments

@samuel-clara
Copy link

What happened?

Description

Is it desired that by clicking on "View in a new tab" from the version indicator of a draft, the current entry url is displayed and not the draft url (as rightly happens via the "view" button placed near the "preview" button)?

Screenshot from the europa.museum demo
meteorit 2024-03-26 at 23 38 16@2x

Steps to reproduce

  1. create a draft and click on "View in a new tab" from the version indicator
  2. create a draft and click on "View" → "Primary entry page"

Expected behavior

For me it would be more obvious that both button open the draft url

Actual behavior

One button opens the entry url and the other with similar label opens the draft url.

Craft CMS version

5.0.0

PHP version

No response

Operating system and version

No response

Database type and version

No response

Image driver and version

No response

Installed plugins and versions

@samuel-clara samuel-clara changed the title [5.x]: View in a new tab for drafts open different urls [5.x]: View in a new tab for drafts opens different urls Mar 26, 2024
@brandonkelly
Copy link
Member

Thanks for reporting that! Fixed for the next release.

@brandonkelly
Copy link
Member

Craft 5.0.1 is out now with that fix. Thanks again!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants