Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-41708

Attachment display for forums reversed

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.5.2
    • 2.8
    • Forum
    • MOODLE_25_STABLE
    • MOODLE_28_STABLE
    • MDL-41708-master
    • Hide
      1. Open a forum
      2. Edit settings and ensure that you can upload multiple attachments
      3. Take a set of screenshots or other images and rename them 1,2,3,4,5,6 etc.
      4. Start a new forum post
      5. Add subject and content
      6. Upload attachment 1.png, then 2.png, then 3.png
      7. Save the Post
      8. View the post and Confirm that they appear in the correct order within the post (1, 2, 3)
      9. Create another post
      10. Again upload 1.png, then 2.png, then 3.png. Then select 4, 5, and 6 and upload them together (drag/drop all at the same time)
      11. Save the Post
      12. View the post and Confirm that they appear in the correct order within the post (1,2,3,4,5,6)
      13. Create a new post
      14. Upload the attachments in order 6,5,4,3,2,1
      15. Save the Post
      16. View the post and Confirm that they appear in the correct order within the post (1,2,3,4,5,6)
      Show
      Open a forum Edit settings and ensure that you can upload multiple attachments Take a set of screenshots or other images and rename them 1,2,3,4,5,6 etc. Start a new forum post Add subject and content Upload attachment 1.png, then 2.png, then 3.png Save the Post View the post and Confirm that they appear in the correct order within the post (1, 2, 3) Create another post Again upload 1.png, then 2.png, then 3.png. Then select 4, 5, and 6 and upload them together (drag/drop all at the same time) Save the Post View the post and Confirm that they appear in the correct order within the post (1,2,3,4,5,6) Create a new post Upload the attachments in order 6,5,4,3,2,1 Save the Post View the post and Confirm that they appear in the correct order within the post (1,2,3,4,5,6)

    Description

      When attaching files to a forum post they appear in the editor in the order uploaded, however when displayed they are ordered by timemodified, which has the effect of having the display order the reverse of the order in the editor.
      My tutors use case is that they are uploading a sequence of images but when displayed they are in reverse order. The workaround is of course to uploaded them in reverse.

      Attachments

        Issue Links

          Activity

            People

              dobedobedoh Andrew Lyons
              aaronfulton Aaron Fulton
              Jetha Chan Jetha Chan
              Sam Hemelryk Sam Hemelryk
              Andrew Davis Andrew Davis
              Adrian Greeve, Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                10/Nov/14