Note: You are currently viewing documentation for Moodle 2.6. Up-to-date documentation for the latest stable version of Moodle may be available here: Datalynx Filter, Search and Sort.

Datalynx Filter, Search and Sort

From MoodleDocs

This document describes how to apply search and sort criteria to a view, we call it a "filter". A filter can attached to a view in the view settings. Calling a view with a filter displays only entries that match the search criteria. The entries will be sorted according to the settings. You can also let users apply custom search and sort option. In this case have a look at the documentation for Datalynx Tags

What is a "view filter"

In the settings of each view it is possible to select a filter, if there are filters defined at "Manage -> Filters". Choosing a filter in the view setting "filter", changes the view in the following way:

  • Only entries, that match the search criteria will be displayed (if present in the filter, they can also stay undefined)
  • The entries will be sorted according to the sort criteria (if present)
  • The number of entries shown per page will be defined by the filter (default for a view without filter is 50 entries per page)

When applying a filter to a view via the view settings it is currently the "advanced filter", is not visible for users.

Create a filter

Apply a filter to a view

Filter settings