# Exercise 8.3: Configure the job listing

In this exercise we’ll configure the job listing so it filters by terms of employment.

## Edit the job listing (or create it if you haven’t already)

If you’ve already created the Job list view, skip to the step

## Configure the view

![Image of Jobs posting View](https://3186608908-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LzAsrTcKaHnLDg-7ALW%2Fuploads%2Fgit-blob-800b5aa988b9665fef456d7851ec6c56d5938d66%2FEx-8-3-Job-Listing-View-1.png?alt=media)

If you don’t have the job listing view, we’ll create it and set the filter criteria.

![Image of View settings](https://3186608908-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LzAsrTcKaHnLDg-7ALW%2Fuploads%2Fgit-blob-e32d34c3511dfb36953e0ff8c85358dc94861694%2FEx-8-3-Job-Listing-View-2.png?alt=media)

1. Go to **Structure** → **Views** → **Add new view**. Configure with these settings:
   * **View name:** Job listing
   * Show **“Content”** of type **“job posting”** sorted by **“Newest first”**
   * Select the **Create a page** checkbox
   * Keep the defaults for the page setting
   * Select **Create a menu link**
   * **Menu**: Select **Main navigation** Link text: **Jobs**
2. Click **Save and edit**

## Configure the view

Based to knowledge acquired from previous units in this manual, add a filter by terms of employment, and expose to the site visitors. Use the preview section located below the view configuration form to accomplish this task. Once you are happy with how it has been configured, save the view.

{% hint style="info" %}
**Hint:** Use the screenshot below if you need some guidance.
{% endhint %}

![Image of Filter criteria](https://3186608908-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LzAsrTcKaHnLDg-7ALW%2Fuploads%2Fgit-blob-9fd39464795f3e16904138fa40e4f389254ab92a%2FEx-8-3-Job-Listing-View-3.png?alt=media)

## Review your changes

Review your changes by checking your homepage. “Jobs” will be part of the main navigation (because you added it to the menu) and you’ll now see a dropdown menu that filters the job postings.

![Image of Job listing page with filter](https://3186608908-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LzAsrTcKaHnLDg-7ALW%2Fuploads%2Fgit-blob-9df66be833f8bf716cfbaabc332a9fc3f98ca6e0%2FEx-8-3-Job-Listing-View-4.png?alt=media)

## Job list with agency logos (Views relationships)

Content types often share information such as taxonomy terms, authors, and so on. We may also want to add in a relationship between content types so that we can share data (fields) from one content type with another. When you first set up a view, you select your “base table”. By adding in View relationships, you can share information from tables of other content types.

![Image of Views relationships](https://3186608908-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LzAsrTcKaHnLDg-7ALW%2Fuploads%2Fgit-blob-e48c83dec67070f598655019491992d3abf607f9%2FEx-8-3-Job-Listing-View-5.png?alt=media)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://salsa-digital.gitbook.io/govcms-site-builder/unit-8-site-building-exercises/job-list-dropdown-filter/exercise-8-3-configure-the-job-listing.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
