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

Sorting data with an empty field sorts the field to the bottom of the list

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 6.1.0 CE RC1
    • Fix Version/s: --Sprint 12/11, 6.1.0 CE RC1
    • Component/s: Dynamic Data Lists
    • Labels:
      None
    • Environment:
      Tomcat 7.0 + MySQL 5. 6.1.x Revision: 94864.

      Description

      When a user sorts two entries in spreadsheet view and one of the fields is empty, the second entry is sorted at the bottom of the spreadsheet.

      Steps to reproduce:

      1. Add a Page
      2. Add a Dynamic Data List Display portlet
      3. Click Add List
      4. Enter a name
      5. Click Select under Data Definition (Required)
      6. Click link for Contacts
      7. Click Save
      8. Add two records leaving the field for Last Name blank for one entry
      9. Click Configuration
        • Flag Spreadsheet View
        • Click Save
        • Close Dialog
      10. Sort entries by Last Name
      11. The entry without data in Last name is placed at the bottom of the spreadsheet (see attachment)

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                7 years, 24 weeks, 6 days ago