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

Display other asset values in the Ordering and Grouping tab of the configuration and also relax the requirements set forth in AssetEntryQuery.checkOrderByCol.

    Details

    • Type: Feature Request
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Asset Framework
    • Labels:

      Description

      ISSUE
      In the AssetEntryQuery class, the order columns are set manually, hard coded, instead of being picked up from a properties file, so the checkOrderByCol method doesn't get the values sent not null values) and returns modified date as the default ordering field, resulting in their field being ignored. This design makes it very difficult to customize the ordering, and even more if you want to use advanced features such as sorting by distance (using Elasticsearch and Hits) with this AssetEntryQuery approach.
      FEATURE REQUEST
      Display other asset values in the Ordering and Grouping tab of the configuration and also relax the requirements set forth in AssetEntryQuery.checkOrderByCol.

      Please consider also every possible Sort type, as defined in the Sort class; the GEO_DISTANCE_TYPE does not appeared used within the portal, while it should be possible to use it as defined in Sort.java, GeoDistanceSort and in the ElasticsearchIndexSearcher.

        Attachments

          Activity

            People

            Assignee:
            support-lep@liferay.com SE Support
            Reporter:
            marco.abamonga Marco Abamonga
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:

                Packages

                Version Package