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

Course custom fields search area should not be in Other search category

    XMLWordPrintable

Details

    • MOODLE_37_STABLE
    • MDL-64701-category-customfields-master
    • Hide

      Requisites

      1. A site with courses and custom fields
      2. Having the site indexed for global search.
      3. Go to /admin/settings.php?section=manageglobalsearch and enable "Display results in separate categories"

      Testing 

      • Search for some text that could be found in the course custom fields.
      • Make sure that results related to course custom fields are displayed in "Courses content"  tab and "Courses" tab 

       

      Show
      Requisites A site with courses and custom fields Having the site indexed for global search. Go to /admin/settings.php?section=manageglobalsearch and enable "Display results in separate categories" Testing  Search for some text that could be found in the course custom fields. Make sure that results related to course custom fields are displayed in "Courses content"  tab and "Courses" tab   

    Description

      As part of the work done in MDL-57898 a new search area "Course custom fields" has been added.  In MDL-60913 we've created API to assign areas to categories and then display related results in tabs.

      Unless overridden, the default category is SEARCH_AREA_CATEGORY_OTHER. 

      Looks like we need update the category for "Course custom fields" to  SEARCH_AREA_CATEGORY_COURSE_CONTENT or  SEARCH_AREA_CATEGORY_COURSES

      Attachments

        Issue Links

          Activity

            People

              dmitriim Dmitrii Metelkin
              dmitriim Dmitrii Metelkin
              Matt Porritt Matt Porritt
              David Monllaó David Monllaó
              Janelle Barcega Janelle Barcega
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                20/May/19

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour
                  1h