Skip to content

Commit

Permalink
LRAC-14467 Sort
Browse files Browse the repository at this point in the history
  • Loading branch information
brianchandotcom committed Sep 13, 2023
1 parent 0ba470e commit 04e4c85
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ protected static Experiment toExperiment(
experiment.setPageRelativePath(layout.getFriendlyURL());
experiment.setPageTitle(layout.getTitle(locale));
experiment.setPageURL(pageURL);
experiment.setPublishable(true);

if ((segmentsExperiment.getStatus() ==
SegmentsExperimentConstants.STATUS_COMPLETED) ||
Expand All @@ -124,8 +125,6 @@ protected static Experiment toExperiment(
segmentsExperiment.getWinnerSegmentsExperienceKey());
}

experiment.setPublishable(true);

SegmentsExperience segmentsExperience =
segmentsExperienceLocalService.getSegmentsExperience(
segmentsExperiment.getSegmentsExperienceId());
Expand Down

0 comments on commit 04e4c85

Please sign in to comment.