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

        No work has yet been logged on this issue.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development