Skip to content

Commit

Permalink
LPS-79349 Uses FragmentEntryLink.classPK in distinct for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
ealonso authored and brianchandotcom committed May 8, 2018
1 parent 467c023 commit 791fd75
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -15,7 +15,7 @@
<sql id="com.liferay.fragment.service.persistence.FragmentEntryLinkFinder.countByG_F_C">
<![CDATA[
SELECT
COUNT(DISTINCT Layout.plid) AS COUNT_VALUE
COUNT(DISTINCT FragmentEntryLink.classPK) AS COUNT_VALUE
FROM
FragmentEntryLink
INNER JOIN
Expand All @@ -31,7 +31,7 @@
<sql id="com.liferay.fragment.service.persistence.FragmentEntryLinkFinder.countByG_F_C_L">
<![CDATA[
SELECT
COUNT(DISTINCT LayoutPageTemplateEntry.layoutPageTemplateEntryId) AS COUNT_VALUE
COUNT(DISTINCT FragmentEntryLink.classPK) AS COUNT_VALUE
FROM
FragmentEntryLink
INNER JOIN
Expand Down

0 comments on commit 791fd75

Please sign in to comment.