Announcement

Collapse
No announcement yet.

Thread sort by ASC and not DESC

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Thread sort by ASC and not DESC

    *******************************************
    OX AppSuite UI: 7.6.0 Rev7
    OX Appsuite Backend: 7.6.0-Rev8
    Licence: Open-Xchange App Suite OX-AppS-10

    *******************************************

    Hello,

    I try to change the order of emails in a conversation (thread-view).
    I want to have the oldest first and the newest last.

    Currently OX AppSuite 7.6.0:
    001.jpg

    My wish:
    002.jpg

    I tried with the command "/opt/open-xchangen/sbin/changeuser ... --addguipreferences" but no option to change DESC with ASC.

    In the file "/opt/open-xchange/appsuite/apps/io.ox/mail/api.js" I try to change line 543 (api.getAllThreads functions) with
    order: options.order || 'asc'

    After a restart, the order is still not changed

    I post here because I've see that members of the Open-Xchange staff are on the forum sometimes.
    Evtl. a forum member or Open-Xchange team member can explain how it's possible to change the order.

    Bests Regards,
    Damien

  • #2
    That order parameter specifies the sort order of threads in the list view. The order of individual messages inside a thread is hard-coded.
    You could try overriding some API method and reverse the order before it's processed, but then you would also see the oldest message in the list view, since it shows the topmost message. Overriding behavior in threadview.js is probably better, but there are similar traps: previous/next must go in the right direction, jumping to the first unread message in the thread must use the right definition of "first", etc. Either way, it's unlikely you get the exact behavior you want with a single switch somewhere.

    Comment


    • #3
      Hello Viktor,

      Thank for your reply and infos.

      You think OX will integrate a switch (sort ASC/DESC Thread) system in Webmail settings ?
      Like Microsoft OWA (Outlook Web App) ?

      2014-07-29_17-20-02.jpg

      I still have not left OWA for OX (even though I purchased the license) because it have not some practical configurations

      - Thread sort
      - Thread options (display deleted messages in the thread, ...)
      - Select mutiples mails after a search (for move, delete, tag, ...)

      Bests Regards,
      Damien

      Edit: fix attachement
      Last edited by damien57; 07-29-2014, 05:23 PM.

      Comment


      • #4
        If enough people ask for it, or somebody pays for the development, sure

        Comment


        • #5
          Again Thank Viktor for your time.

          I'll wait that other people request the same feature

          Damien

          Comment

          Working...
          X