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

link generating fixed #31

Merged
merged 4 commits into from
Nov 6, 2024
Merged

link generating fixed #31

merged 4 commits into from
Nov 6, 2024

Conversation

DanielJurcaBS
Copy link
Collaborator

Motivation

Fixes link generation to admin UI
aswell as updates xbk to be able to use IPageLinkGenerator

Checklist

  • Code follows coding conventions held in this repo
  • Automated tests have been added
  • Tests are passing
  • Docs have been updated (if applicable)
  • Temporary settings (e.g. variables used during development and testing) have been reverted to defaults

Copy link
Contributor

@michalJakubis michalJakubis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

{
internal static PageParameterValues GetWebPageParams(int webPageItemId, int websiteChannelId, string lang) => new()
{
{ typeof(WebPageLayout), $"{lang}_{webPageItemId}" },
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can use new WebPageUrlIdentifier(lang, webPageItemId).ToString() to generate parameter for WebPageLayout.

Copy link
Contributor

@Rumec Rumec left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved

@michalJakubis michalJakubis self-requested a review November 6, 2024 12:20
@Rumec Rumec merged commit cb4ffaa into main Nov 6, 2024
2 checks passed
@Rumec Rumec deleted the fix/InvalidUrlsToAdminApp branch November 6, 2024 12:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants