Skip to content

Commit af564ab

Browse files
committed
Generate URLs with siteaccess parameters
1 parent 05783d5 commit af564ab

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

bundle/Resources/views/admin/overview.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
<img src="{{ asset('bundles/netgeninformationcollection/admin/images/Document.png') }}" alt="section" title="section" width="16" height="16">
3434
&nbsp;
3535
{% if object.hasLocation %}
36-
<a href="{{ path("ez_urlalias", { "contentId": object.content.contentInfo.id }) }}">
36+
<a href="{{ path("ez_urlalias", { "contentId": object.content.contentInfo.id, "siteaccess": ezpublish.siteaccess.name }) }}">
3737
{{ ez_content_name(object.content) }}
3838
</a>
3939
{% else %}

doc/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
1919
### Fixed
2020
- Accessing collections created by nonexistent users
2121
- Translate ContentType name with TranslationHelper in tree
22+
- URL's generated without siteaccess context on overview page
2223

2324
## [1.7.1] - 2020-01-24
2425
### Added

0 commit comments

Comments
 (0)