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

Add Book Chapter Search Area

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.1
    • 3.1
    • Book, Global search
    • MOODLE_31_STABLE
    • MOODLE_31_STABLE
    • MDL-53612-master
    • Hide
      1. Run unit tests
      2. Setup Solr searching
      3. Create a course with a student in it
      4. Create a book
      5. Create a chapter with "Chapter1" in the content box
      6. Create a chapter with "Chapter2" in the content box
      7. Hide chapter 2
      8. Index site content
      9. Search for Chapter1, make sure that you get a result for Chapter 1, and that the link takes you to that chapter. The "in context" link should take you to the Book, and course should take you to the course.
      10. Search for Chapter2, make sure that you get a result for Chapter 2, and that the link takes you to that chapter. The "in context" link should take you to the Book, and course should take you to the course.
      11. Login as student
      12. Search for Chapter1, make sure that you get a result for Chapter 1, and that the link takes you to that chapter. The "in context" link should take you to the Book, and course should take you to the course.
      13. Search for Chapter2, make sure you get no result
      14. Back as a teacher, edit Chapter 2, and set the content to Chapter2Edit
      15. Index using the scheduled task php admin/tool/task/cli/schedule_task.php --execute="\\core\\task
        search_index_task"
        , make sure it shows 1 document indexed
      16. Search for Chapter2Edit and make sure that you get a result for Chapter 2
      Show
      Run unit tests Setup Solr searching Create a course with a student in it Create a book Create a chapter with "Chapter1" in the content box Create a chapter with "Chapter2" in the content box Hide chapter 2 Index site content Search for Chapter1, make sure that you get a result for Chapter 1, and that the link takes you to that chapter. The "in context" link should take you to the Book, and course should take you to the course. Search for Chapter2, make sure that you get a result for Chapter 2, and that the link takes you to that chapter. The "in context" link should take you to the Book, and course should take you to the course. Login as student Search for Chapter1, make sure that you get a result for Chapter 1, and that the link takes you to that chapter. The "in context" link should take you to the Book, and course should take you to the course. Search for Chapter2, make sure you get no result Back as a teacher, edit Chapter 2, and set the content to Chapter2Edit Index using the scheduled task php admin/tool/task/cli/schedule_task.php --execute="\\core\\task search_index_task" , make sure it shows 1 document indexed Search for Chapter2Edit and make sure that you get a result for Chapter 2

    Description

      We don't currently index the contents of books, but we do of pages.

      Attachments

        Activity

          People

            emerrill Eric Merrill
            emerrill Eric Merrill
            David Monllaó David Monllaó
            Dan Poltawski Dan Poltawski
            John Okely John Okely
            David Jones, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              23/May/16