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

Forum: Heading structure on Search results page

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. Install a fresh Moodle site
      2. Create a course with at least 1 (but less than 10) users enrolled
      3. Create a forum activity in the course.
      4. Download the test script makediscussions.php to your Moodle root folder.
      5. Run it. "php makediscussions.php"
      6. Go to the forum
      7. On the search field on the forum's view page, search for the word "dis"
      8. Check the subject heading of each search result.
      9. Confirm that they are enclosed in an <h4> tag.
      10. Go to the profile of a user enrolled in the course
      11. Click "Forum posts".
      12. Check the subject heading of each search result.
      13. Confirm that they are enclosed in an <h3> tag.
      Show
      Install a fresh Moodle site Create a course with at least 1 (but less than 10) users enrolled Create a forum activity in the course. Download the test script makediscussions.php to your Moodle root folder. Run it. " php makediscussions.php " Go to the forum On the search field on the forum's view page, search for the word " dis " Check the subject heading of each search result. Confirm that they are enclosed in an <h4> tag. Go to the profile of a user enrolled in the course Click " Forum posts ". Check the subject heading of each search result. Confirm that they are enclosed in an <h3> tag.
    • Affected Branches:
      MOODLE_34_STABLE, MOODLE_37_STABLE, MOODLE_38_STABLE, MOODLE_39_STABLE
    • Fixed Branches:
      MOODLE_37_STABLE, MOODLE_38_STABLE
    • Pull 3.7 Branch:
    • Pull 3.8 Branch:
    • Pull Master Branch:
      MDL-61390-master
    • Story Points:
      0
    • Sprint:
      International 3.9 - Sprint 5, International 3.9 - Sprint 6

      Description

      Incorrect Heading structure on Search Results page

      Description: The headings on the search results page when searching forums do not correctly use heading levels to convey the hierarchy/structure of hte page. Currently “Search Results” is displayed as a heading level 3 with individual search result items as heading level 2.

      Steps to replicate:

      1. Open a forum
      2. Search the forum for a known present search term
      3. View the headings list on the search results page

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jpataleta Jun Pataleta
              Reporter:
              kedgar Kim Edgar
              Peer reviewer:
              Shamim Rezaie
              Integrator:
              Eloy Lafuente (stronk7)
              Tester:
              Anna Carissa Sadia
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              6 Vote for this issue
              Watchers:
              10 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                9/Mar/20

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 day, 2 hours, 21 minutes
                  1d 2h 21m