# Exercise 9.2: Set up Job posting content type display in global search

Try to conduct a search for a published Job posting content type. You’ll notice that it appears differently to other content types:

| <p><img src="https://3186608908-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LzAsrTcKaHnLDg-7ALW%2Fuploads%2Fgit-blob-55ebe8ea43c74d15b4393ce379306c8ce5dd911a%2F146.png?alt=media" alt="" data-size="original"></p><p>Standard page search results</p> | <p><img src="https://3186608908-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LzAsrTcKaHnLDg-7ALW%2Fuploads%2Fgit-blob-228f6caee51419d9dab08d8fc93f494f8f37680e%2F147.png?alt=media" alt="" data-size="original"></p><p>Not configured Job posting search result</p> |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |

This is because the search index isn’t configured to display the right View mode for the Job posting content type and it shows the same content as the full-page view.

Let’s change that, by activating Search view mode in the Job Posting content type and then configuring the search to use it.

1. Go to _Structure_ → _Content types_ → _Job Posting_ → **Manage display**.
2. Under the _Custom display settings_, enable the **Search** view mode. Save the changes.
3. Click the Search link at the top (in the secondary tabs) to navigate to the Search view mode.
4. Under the **Select a layout** field, select **Search** and save the changes. You’ll notice that the fields table below now shows multiple regions, such as:
   * Title
   * Info
   * Summary
   * Tags
   * Disabled
5.  Rearrange fields (drag-and-drop) to match the screenshot. Move the remaining fields into the disabled region. Focus on making the Title field a link and trimming the Job description down to 300 characters. Remember to **Save** your changes.

    <img src="https://3186608908-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LzAsrTcKaHnLDg-7ALW%2Fuploads%2Fgit-blob-4feec8b224b820a9c8c1b4b40646441300419cbc%2FEx-9-2-Jobs-Search-3.png?alt=media" alt="Image of Configure Search for Job postings" data-size="original">

    Now, as we created and customised the Job posting view mode for Search, let’s make the search page to use it. Our search page is made as a View, although it’s set to use the Search API functionality. We’ll explore how to create a Search API view later.
6. Go to _Structure_ → _Views_ and edit the **Search** view.
7.  Under **Format** → **Show**, click on the **Settings** link:

    <img src="https://3186608908-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LzAsrTcKaHnLDg-7ALW%2Fuploads%2Fgit-blob-5d03a0fdb8cbcfb0bcae8d9768a4882858b200bd%2FEx-9-2-Jobs-Search-4.png?alt=media" alt="Image of edit Search view" data-size="original">
8.  Locate the “**View mode for datasource** _**Content**_**, bundle** _**Job Posting”**_ and change it to use the **Search** view mode created earlier

    <img src="https://3186608908-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LzAsrTcKaHnLDg-7ALW%2Fuploads%2Fgit-blob-78e8f4a379d998aab636725082b08f5c1fc9693e%2FEx-9-2-Jobs-Search-5.png?alt=media" alt="Image of use Search viee mode" data-size="original">
9. **Apply** your changes and **Save** the view.
10. Repeat search for a job posting and confirm if the display looks similar to other content types.

    | <p><img src="https://3186608908-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LzAsrTcKaHnLDg-7ALW%2Fuploads%2Fgit-blob-6de44329b3a6d9eb119d697b85e809ee96dc862f%2FEx-9-2-Jobs-Search-6.png?alt=media" alt="" data-size="original"></p><p>Search result for Job posting</p> | <p><img src="https://3186608908-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LzAsrTcKaHnLDg-7ALW%2Fuploads%2Fgit-blob-61d11a78d7518078de69bc3bfb00860f6d56e985%2FEx-9-2-Jobs-Search-7.png?alt=media" alt="" data-size="original"></p><p>Search result for News page</p> |
    | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
11. You may return to the Search view mode in the Job posting content type and change it further, to test how your changes affect the search results display widget.
