Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Serverside DSRequest is missing the possibility to define the SortDirection

    Hi Isomorphic,

    I need to define the sort order on a serverside DSRequest, but only found DSRequest.setSortBy(java.lang.Object).

    The Javadocs ("sortBy - String or List of Strings: field or list of fields to sort by.") indicate that it is not possible to specify a sort direction. But as the client is able to issue requests with a SortDirection, it somehow must be possible to define this order. Am I missing some method? If not, could you expose the method in question in 4.1p?

    Thank you & Best regards,
    Blama

    #2
    solved

    Hello everyone,

    I just found DSRequest.getSortByFields() which explains how DESC sorting works (prefix the column name with a "-").

    @Isomorphic: Can you copy that information to DSRequest.setSortBy() as well?

    Best regards,
    Blama

    Comment


      #3
      We've modified the javadoc to add this information

      Regards
      Isomorphic Software

      Comment

      Working...
      X