Request List page

The Request List page template is rendered when a user navigates to https://{yoursubdomain}.zendesk.com/hc/{locale}/requests.

Available properties

You can use the following properties in the Request List page template.

NameTypeDescription
filtersarrayAn array of filter objects for the page
current_filterobjectThe current filter object
sortersarrayAn array of filter objects for the page. See Sorters below
current_sorterobjectThe current filter object
querystringThe current search query
requestsarrayAn array of request objects
promoted_articlesarrayAn array of promoted article objects
ticket_formsarrayAn array of ticket form objects
help_centerobjectA help_center object that holds information and settings about the current help center
settingsobjectA settings object with custom settings for the current theme
signed_inbooleanWhether the user is logged in or not
featured_postsarrayAn array of featured post objects
brandobjectA brand object representing the current brand
userobjectA user object representing the current user
### Available helpers

You can use the following helpers in this page template. You can also use any built-in helpers, global helpers, or global advanced helpers.

NameDescription
request_list (beta)List of requests. See request_list helper
breadcrumbsBreadcrumbs for the Request List page. See breadcrumbs helper
paginationPagination links. See pagination helper
formA form for data input. See bellow the available forms for this page

Available forms

You can add the following form to the Request List page template:

NameDescription
requests_filterA form to filter which requests are shown

Use the form helper to insert it. See Form Helper.

Available identifiers

The following identifiers are available in this page:

IdentifierFormField(s)Description
queryrequests_filterinputIdentifies a search field
organizationrequests_filterlabel, selectIdentifies a drop-down to select an organization
statusrequests_filterlabel, selectIdentifies a drop-down to select a status

Sorters

Iterating through the sorters array of filter objects adds the following links to the page:

Link textAction
CreatedSorts by most recent creation time
Last activitySorts by most recent activity in descending order

Example

<header class="my-activities-header">  {{breadcrumbs}}</header>
<div class="requests-list">  <ul>    {{#each requests}}      <tr>        <td>{{id}}</td>        <td>          <a href="{{url}}">            {{#if subject}}              {{subject}}            {{else}}              {{excerpt description characters=50}}            {{/if}}          </a>        </td>        <td>          {{#is ../current_filter.identifier "my"}}            {{date created_at timeago=true}}          {{else}}            {{requester.name}}          {{/is}}        </td>        <td>{{date updated_at timeago=true}}</td>        <td>          <span class="request-status request-{{status}}" title="{{status_description}}">            {{status_name}}          </span>        </td>      </tr>    {{/each}}  </ul></div>