Skip to main content
  1. Home
  2. Manage teacher training applications

Filtering applications by subject

Users need to be able to filter their applications by subject.

Course data analysis

Providers using the Manage service offer approximately 40 subjects at primary and secondary levels.

The number of subjects offered varies between providers.

  • Average number of subjects offered: 10
  • Maximum number of subjects offered: 28
  • Minimum number of subjects offered: 1

Some courses are made up of two subjects, for example:

  • biology and physical education
  • business studies and economics
  • English and drama
  • maths and physics

In these examples, the two subjects are combined into one course title, for example ‘business studies with economics’.

Some courses are made up of multiple subjects and are also titled differently, for example:

  • biology and chemistry together may be titled ‘Combined science’
  • French and German together is titled ‘modern languages (French and German)’
  • French, German and Spanish together is titled more simply as ‘modern languages’

Course titles can be changed by an administrator. Changes are often made to make title clearer, for example adding the age group to the title.

Changing the course title can cause problems. For example, the ‘primary’ subject (code 00) is often renamed to ‘primary (5-11)’ or ‘primary (7-11)’. There are also instances where ‘primary’ is renamed to a subject that already exists, such as ‘primary with mathematics’ (which is also code 03).

What we changed and why

We introduced a new filter pattern to display a long list of subjects. There may be as many as 40 subjects displayed in the list, which would extend the filter panel to an unmanageable length if displayed as a standard list of checkboxes.

We provided a means to search the list of subjects so that a user does not need to scroll through. For example, they can type ‘primary’ and will be presented with all the primary subjects.

We repeated the selected tags at the top of the subject filter, providing an immediate and obvious confirmation of which subject filters have been applied. It also gives users an additional way to remove subject filters.

How it works

The subject filter only shows individual subjects for the courses offered by the provider.

For example, if the provider offers a course called ‘business studies with economics’ the filter will include business studies and economics as separate options. If the provider offers a course called ‘modern languages’, which includes French, German and Spanish, the filter will include the three languages.

If there are more than 15 subjects, a scrollable region is created and JavaScript is used to add a search box. Typing in the search box updates the list below it with subjects matching the search term. If there are no matches, the list is empty.

If JavaScript is unavailable, the subjects are still contained within the scrollable region but the search box is no longer shown.

The scrollable region is indicated by a cut-off mid-way through a checkbox, a bottom border and custom styles to display a scrollbar.

The scroll area shows 4 and half subjects to help users realise there are other subjects in the list. This smaller height lets users move to a filter below.

If there are 15 subjects or fewer, the subject filter will be displayed as a simple list of checkboxes.

When a subject has been selected and the filters have been applied, the remove filter tags are displayed under ‘selected filters’ at the top of the filter panel. They’re also displayed at the top of the subject filter since they may be hidden outside the visible scrollable region.

Other considerations

We considered some changes which were not implemented.

  • Reordering the subject list to show all checked subjects in alphabetical order at the top of the list of subjects, followed by an alphabetical list of unchecked subjects. This was not implemented as it is known to increase error rates and misinterpretations.
  • Providing a ‘selected’ count below the filter’s heading similar to that found in the GOV.UK finder frontend component called option select. This was not implemented in this iteration as we could not establish a need for it.
  • Putting each filter section into an expandable region, but hiding the content means the user has to work harder to reveal the content.

No search or filters#

Screenshot of No search or filters

The default applications list with no search or filters

Filtered by subject#

Screenshot of Filtered by subject

The applications list showing the list filtered by subject

Filter by subject inline filter#

Screenshot of Filter by subject inline filter

The applications list showing the subject filter’s inline filter being used to find a subject from the list of subjects

Filter by subject with JavaScript disabled#

Screenshot of Filter by subject with JavaScript disabled

The applications list showing the subject filter with JavaScript disabled. The inline search is not present as this relies on JavaScript