[BD-29] [TNL-7060]: Add titles to course search indexing for all xblocks

Description

Modify XBlock root class's index_dictionary method to return common fields e.g `title` and `content_type` by default.

*JIRA tickets*:

*Dependencies*: None

*Merge deadline*: "None"

*Testing instructions*:

None yet.

*Author notes and concerns*:

1. I am not sure what kind of unit test should I write to test this feature as all the real XBlocks lives in other repos. So, if you have some idea, please discuss.

*Reviewers*

  • [ ] @xitij2000

  • [ ] @davestgermain

Assignee

Unassigned

Reporter

Open Source Pull Request Bot

Labels

Github Latest Action by edX

Yes

Github PR Last Updated At

Jul 14, 2020, 1:51 AM

Github PR Last Updated By

natabene

Github Organization

None

Customer

PR Number

469

Repo

edx/XBlock

Contributor Name

Ahmad Bilal Khalid

Github Latest Action

issue_comment: created

Platform Map Area (Levels 1 & 2)

None

Platform Map Area (Levels 3 & 4)

None

Blended Project Status Page

None

Sprint

Priority

Unset
Configure