Sort.Direction.DESC from enum is value 1 instead of -1

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: 2.9.1
    • Component/s: API
    • None
    • Environment:
      Windows, Ubuntu
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      query.with(new Sort(Sort.Direction.DESC, "fieldxxx"));
      In Mongo the value of desc should be -1 instead of 1 that is coming from enum.

            Assignee:
            Unassigned
            Reporter:
            Jari Rangell
            None
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: