Skip to content

Commit

Permalink
Fixed an issue with redirect type not being properly set
Browse files Browse the repository at this point in the history
If a redirect was created from the global dashboard, the type/mode would always be set to "content", which obviously is wrong. The redirects would still work fine, but eg. a redirect for a media (created via the dashboard), wouldn't show up in the redirects proeprty editor of said media due to the wrong type being stored in the database.
  • Loading branch information
abjerner committed Aug 28, 2017
1 parent cb9093c commit 4bbc81a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
var params = {
rootNodeId: $scope.redirect.rootNodeId,
url: $scope.redirect.url,
linkMode: $scope.type,
linkMode: $scope.redirect.link.mode,
linkId: $scope.redirect.link.id,
linkUrl: $scope.redirect.link.url,
linkName: $scope.redirect.link.name
Expand Down

0 comments on commit 4bbc81a

Please sign in to comment.