Uploaded image for project: 'Browser Developer Extensions'
  1. Browser Developer Extensions
  2. BDE-183

BDE should not force an ORDER BY clause and rely on the user to provide its own order

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.0.2
    • Fix Version/s: QualifiedToSchedule
    • Component/s: Base Code

      Description

      In line https://github.com/nuxeo/nuxeo-browser-extension/blob/master/app/scripts.babel/popup.js#L473 , the BDE enforces a default sort order on dc:modified

      When a user provides his own ORDER BY clause in a NXQL query, the result is then that there exists 2 ORDER BY clauses in 1 NXQL query, which is invalid

      If not providing a defaut sort order, as is done in the UI NXQL query, this would let the user request a particular order.

      When reproducing, when specifying e.g. ORDER BY dc:modified in an NXQL query, no result is actually returned, and no other symptom at the user level.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              pabgrall Patrick Abgrall
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: