Skip to content

Commit

Permalink
Modified ContentCreateViewFilter:resolveContentCreateData so ContentT…
Browse files Browse the repository at this point in the history
…ype DefaultSortField wont get lost during creation (#258)
  • Loading branch information
mateuszbieniek authored and Łukasz Serwatka committed Oct 30, 2018
1 parent 7c7be69 commit b1e9ad8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Content/View/Filter/ContentCreateViewFilter.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ private function resolveContentCreateData(
$contentType,
[
'mainLanguageCode' => $languageCode,
'parentLocation' => $this->locationService->newLocationCreateStruct($location->id),
'parentLocation' => $this->locationService->newLocationCreateStruct($location->id, $contentType),
]
);
}
Expand Down

0 comments on commit b1e9ad8

Please sign in to comment.