Note: You are currently viewing documentation for Moodle 2.8. Up-to-date documentation for the latest stable version of Moodle may be available here: Dataform search sort.

Dataform search sort

From MoodleDocs
Revision as of 18:28, 16 March 2014 by Itamar Tzadok (talk | contribs)


Using predefined filters

Using advance (user) filters

Searchable/Sortable fields

This list includes only internal and standard fields. For search/sort options of add-on fields please consult the respective field's page.

Field Patterns
Entry actions None
Entry author
  • Current user – (search only) matches entries authored by the current user.
  • User first name
  • User last name
  • User username
  • User id number
Entry group
  • Id number
Entry time
  • Time created
  • Time modified

The search value is a string containing an English date/time (including relative date/time such as 'tomorrow'). You can specify a range (for the BETWEEN operator) by entering “from” and “to” dates separated by two dots (..), for example:

3 March 2014 .. 10 March 2014
Checkbox
  • Content
Entry state
  • State

The field is sorted by the state keys, not the state labels.

The search value is a string containing a state label.

File N/A
Comment Mdl N/A
Number
  • Content
Picture N/A
Radio button
  • Content
Rating Mdl
  • User rating
  • Number of ratings
  • Average of ratings
  • Sum of ratings
  • Highest rating
  • Lowest rating
Select
  • Content
Select (multiple)
  • Content
Text
  • Content
Text area
  • Content
Time
  • Content
Url
  • Content