Homepage | Products | OX Knowledge Base | Support | Try Now | Contact | Company
OX Logo
Results 1 to 5 of 5
  1. #1
    Join Date
    Jul 2014
    Posts
    20

    Question 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. #2
    Join Date
    Feb 2007
    Posts
    253

    Default

    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.

  3. #3
    Join Date
    Jul 2014
    Posts
    20

    Default

    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 at 05:23 PM.

  4. #4
    Join Date
    Feb 2007
    Posts
    253

    Default

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

  5. #5
    Join Date
    Jul 2014
    Posts
    20

    Default

    Again Thank Viktor for your time.

    I'll wait that other people request the same feature

    Damien

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •