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

Create setter for ascending property in OrderByComparators

    Details

      Description

      It's not possible to set the ascending property in OrderByComparator instances.

      This makes harder for JSON web services to call methods that have OrderByComparator parameters.

      For example:

      "+obc": "com.liferay.portlet.bookmarks.util.comparator.EntryNameComparator"
      "obc.ascending": true

      This won't work because there's no ascending setter, which means you can only use descending ordering.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              emanuel.matteo Emanuel Matteo
              Reporter:
              bruno.farache Bruno Farache (Inactive)
              Votes:
              2 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:

                  Packages

                  Version Package