Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-129616

Update getUserAccountEntriesCount as DSL Query count returns a long value not an int

    Details

      Description

      @Override
      public int getUserAccountEntriesCount(
      	long userId, Long parentAccountEntryId, String keywords,
      	String[] types, Integer status)
           throws PortalException {
      
           return dslQuery(_getGroupByStep(DSLQueryFactoryUtil.countDistinct(
      	  AccountEntryTable.INSTANCE.accountEntryId.as(
      	  "COUNT_VALUE")),userId, parentAccountEntryId,
                keywords, types, status));
      }
      

        Attachments

          Activity

            People

            Assignee:
            brian.chan Brian Chan
            Reporter:
            albert.lee Albert Lee
            Engineering Assignee:
            Albert Lee
            Recent user:
            Rafaela Nascimento
            Participants of an Issue:
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Packages

                Version Package
                7.4.0 CE GA1 DXP 7,4
                Master