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

Dates filter in forum export

    XMLWordPrintable

Details

    • MOODLE_38_STABLE
    • MOODLE_38_STABLE
    • MDL-66631-master-test
    • Hide
      Setup
      • For this test we will need to change the created date on the mdl_forum_posts table so we can test the date filters.
      • We will need at least 3 discussions with at least 2 posts in it created by different users.
      • Using Timestamp generator generate 2 dates, one for July, one for August, doesn't matter the date just need to be within those months.
      • Go to the mdl_forum_posts table and change the created date from few records to the July timestamp. Repeat the step, select 2 records and change created to August.
      • Please make notes of the ids and dates combinations so we can compare agains the exported file.
      Testing
      1. Log in admin and go to the forum.
      2. Note the Started by column now displays the changed date, make sure those make sense.
      3. On the Forum administration menu, click Export.
      4. Enable From field and set to the 1st of July of 2019
      5. Enable To field and set to the 1st of August of 2019
      6. Click Export button and open the exported file.
      7. Make sure just the posts from July have been exported.
      8. Repeat the step above but change the dates to August.
      9. Click Export button and open the exported file.
      10. Make sure just the posts from August have been exported.
      11. Please try other combinations adding discussions and users, it should work as before.
      Show
      Setup For this test we will need to change the created date on the mdl_forum_posts table so we can test the date filters. We will need at least 3 discussions with at least 2 posts in it created by different users. Using Timestamp generator generate 2 dates, one for July , one for August , doesn't matter the date just need to be within those months. Go to the mdl_forum_posts table and change the created date from few records to the July timestamp. Repeat the step, select 2 records and change created to August . Please make notes of the ids and dates combinations so we can compare agains the exported file. Testing Log in admin and go to the forum. Note the Started by column now displays the changed date, make sure those make sense. On the Forum administration menu, click Export . Enable From field and set to the 1st of July of 2019 Enable To field and set to the 1st of August of 2019 Click Export button and open the exported file. Make sure just the posts from July have been exported. Repeat the step above but change the dates to August . Click Export button and open the exported file. Make sure just the posts from August have been exported. Please try other combinations adding discussions and users, it should work as before.
    • 4
    • Internationals - 3.8 Sprint 7, Internationals - 3.8 Sprint 8

    Description

      Allow filterng of exported content by creation date.

      Attachments

        Issue Links

          Activity

            People

              lameze Simey Lameze
              dobedobedoh Andrew Lyons
              Shamim Rezaie Shamim Rezaie
              Sara Arjona (@sarjona) Sara Arjona (@sarjona)
              Amaia Anabitarte Amaia Anabitarte
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                18/Nov/19

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 3 days, 5 hours, 30 minutes
                  3d 5h 30m