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

Allow advanced search to be enabled by default for the Database activity

    • MOODLE_405_STABLE, MOODLE_500_STABLE
    • MDL-83545-main
    • Hide

      You need a course with a teacher and some students.

      1. As a teacher, create a database activity. Check the box labeled "Advanced search enabled by default".
      2. Add some fields to the database activity.
      3. Log in to the course as one of the students and navigate to the database activity.
      4. Ensure that advanced search is enabled on first view.
      5. Uncheck "Advanced search" and click "Save Settings".
      6. Log out and log back in as the student.
      7. Navigate to the database activity.
      8. Ensure Advanced search is not enabled.
      9. As a teacher, create a database activity. Do not check the box labeled "Advanced search enabled by default".
      10. Add some fields to the database activity.
      11. Log in to the course as one of the students and navigate to the database activity.
      12. Ensure that advanced search is not enabled on first view.
      13. Check "Advanced search" and click "Save Settings".
      14. Log out and log back in as the student.
      15. Navigate to the database activity.
      16. Advanced search should be enabled.
      Show
      You need a course with a teacher and some students. As a teacher, create a database activity. Check the box labeled "Advanced search enabled by default". Add some fields to the database activity. Log in to the course as one of the students and navigate to the database activity. Ensure that advanced search is enabled on first view. Uncheck "Advanced search" and click "Save Settings". Log out and log back in as the student. Navigate to the database activity. Ensure Advanced search is not enabled. As a teacher, create a database activity. Do not check the box labeled "Advanced search enabled by default". Add some fields to the database activity. Log in to the course as one of the students and navigate to the database activity. Ensure that advanced search is not enabled on first view. Check "Advanced search" and click "Save Settings". Log out and log back in as the student. Navigate to the database activity. Advanced search should be enabled.
    • Hide

      Code verified against automated checks.

      Checked MDL-83545 using repository: https://github.com/mackensen/moodle

      More information about this report

      Built on: Tue Jan 21 01:56:21 PM UTC 2025

      Show
      Code verified against automated checks. Checked MDL-83545 using repository: https://github.com/mackensen/moodle main (0 errors / 0 warnings) [branch: MDL-83545-main | CI Job ] More information about this report Built on: Tue Jan 21 01:56:21 PM UTC 2025

      Users can enable the advanced search in a database activity as an individual preference, but there are situations where the instructor might want it enabled by default. This has been suggested before.

        1. MDL-83545-advanced-search-option.png
          90 kB
          Charles Fulton
        2. screenshot-1.png
          13 kB
          Laurent David

            cfulton Charles Fulton
            cfulton Charles Fulton
            Laurent David Laurent David
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 20 minutes
                20m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.