How to force an ordering for uploaded files?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Corak
    Junior Member
    • Oct 2024
    • 3

    How to force an ordering for uploaded files?

    Dear community,
    when using the field for multiple attackment upload I'd like to alter the order of the files (alphabetically).
    I even wrote a JavaScript using
    Code:
    document.querySelectorAll('.attachment-block');
    but every time the view changes the sort-script had to be executed again (maybe thats because of the .json usage).

    So how to perform this?

    Kind regards,
    - Corak
  • yuri
    Member
    • Mar 2014
    • 8440

    #2
    Hi Corak,

    Just for information. As far as I remember, items are ordered by the date-time they were uploaded.
    If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

    Comment


    • Corak
      Corak commented
      Editing a comment
      That was my guess too. Any idea how to chance that - or maybe just *where* to look for to alter the display order?
Working...