Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.5 M1
    • Fix Version/s: 1.5 M2
    • Component/s: core
    • Labels:
      None

      Description

      If a PropertySelect is assigned a select query with ordering, it will still apply ordering by option label as well, which may lead to duplicate columns in the ORDER BY clause.

      PropertySelect.loadOptionList():
      ...
      if (getSelectQuery() != null) {
      SelectQuery query = getSelectQuery();

      if (getOrdering() != null && !orderingApplied)

      { query.addOrdering(getOrdering()); orderingApplied = true; }

      else if (getOptionLabel() != null && !orderingApplied)

      { query.addOrdering(getOptionLabel(), true); orderingApplied = true; }

      ...

        Activity

        Lena Pammer created issue -
        Malcolm Edgar made changes -
        Field Original Value New Value
        Status Open [ 1 ] In Progress [ 3 ]
        Malcolm Edgar made changes -
        Resolution Fixed [ 1 ]
        Fix Version/s 1.5 M2 [ 10022 ]
        Status In Progress [ 3 ] Resolved [ 5 ]
        Henri Yandell made changes -
        Project Import Fri Mar 20 14:11:32 PDT 2009 [ 1237583492744 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        1m 11s 1 Malcolm Edgar 28/May/08 20:47
        In Progress In Progress Resolved Resolved
        3h 20m 1 Malcolm Edgar 29/May/08 00:07

          People

          • Assignee:
            Malcolm Edgar
            Reporter:
            Lena Pammer
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development