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

Attachment display for forums reversed

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.5.2
    • Fix Version/s: 2.8
    • Component/s: Forum
    • Labels:
    • Testing Instructions:
      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)
    • Affected Branches:
      MOODLE_25_STABLE
    • Fixed Branches:
      MOODLE_28_STABLE
    • Pull Master Branch:
      MDL-41708-master

      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.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Votes:
                  0 Vote for this issue
                  Watchers:
                  6 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    10/Nov/14