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

Dataform search sort: Difference between revisions

From MoodleDocs
No edit summary
No edit summary
Line 8: Line 8:
This list includes only internal and standard fields. For search/sort options of add-on fields please consult the respective field's page.
This list includes only internal and standard fields. For search/sort options of add-on fields please consult the respective field's page.
{| class="nicetable"  style="background-color:inherit;border:0;"   
{| class="nicetable"  style="background-color:inherit;border:0;"   
|- style="font-weight:bold;background-color:#333;color:#FFF" |
| Field || Patterns
|-  
|-  
| style="text-align:left;vertical-align:top" | [[Dataformfield entryactions|Entry actions]] || None
| style="text-align:left;vertical-align:top" | [[Dataformfield entryactions|Entry actions]] || None

Revision as of 18:29, 16 March 2014


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.

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