Dataform search sort: Difference between revisions

From MoodleDocs
No edit summary
No edit summary
Line 10: Line 10:
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;"   
{{Dataform searchable sortable field table row |  | [[Dataformfield entryactions|Entry actions]] | None }}
{{Dataform searchable sortable field table row |  | [[Dataformfield entryactions|Entry actions]] | N/A }}
{{Dataform searchable sortable field table row |#F6F6F6| [[Dataformfield entryauthor|Entry author]] | {{Dataformfield entryauthor search sort}} }}
{{Dataform searchable sortable field table row |#F6F6F6| [[Dataformfield entryauthor|Entry author]] | {{Dataformfield entryauthor search sort}} }}
{{Dataform searchable sortable field table row |  | [[Dataformfield entrygroup|Entry group]] | {{Dataformfield entrygroup search sort}} }}
{{Dataform searchable sortable field table row |  | [[Dataformfield entrygroup|Entry group]] | {{Dataformfield entrygroup search sort}} }}
{{Dataform searchable sortable field table row |#F6F6F6| [[Dataformfield entrytime|Entry time]] | {{Dataformfield entrytime search sort}} }}
{{Dataform searchable sortable field table row |#F6F6F6| [[Dataformfield entrytime|Entry time]] | {{Dataformfield entrytime search sort}} }}
{{Dataform searchable sortable field table row |  | [[Dataformfield checkbox|Checkbox]] | {{Dataformfield checkbox search sort}} }}
{{Dataform searchable sortable field table row |  | [[Dataformfield checkbox|Checkbox]] | {{Dataformfield checkbox search sort}} }}
{{Dataform searchable sortable field table row |#F6F6F6| [[Dataformfield commentmdl|Comment Mdl]] | None }}
{{Dataform searchable sortable field table row |#F6F6F6| [[Dataformfield commentmdl|Comment Mdl]] | {{Dataformfield commentmdl search sort}} }}
{{Dataform searchable sortable field table row |  | [[Dataformfield entrystate|Entry state]] | {{Dataformfield entrystate search sort}} }}
{{Dataform searchable sortable field table row |  | [[Dataformfield entrystate|Entry state]] | {{Dataformfield entrystate search sort}} }}
{{Dataform searchable sortable field table row |#F6F6F6| [[Dataformfield file|File]] | {{Dataformfield file search sort}} }}
{{Dataform searchable sortable field table row |#F6F6F6| [[Dataformfield file|File]] | {{Dataformfield file search sort}} }}
Line 21: Line 21:
{{Dataform searchable sortable field table row |#F6F6F6| [[Dataformfield picture|Picture]] | {{Dataformfield picture search sort}} }}
{{Dataform searchable sortable field table row |#F6F6F6| [[Dataformfield picture|Picture]] | {{Dataformfield picture search sort}} }}
{{Dataform searchable sortable field table row |  | [[Dataformfield radiobutton|Radio button]] | {{Dataformfield radiobutton search sort}} }}
{{Dataform searchable sortable field table row |  | [[Dataformfield radiobutton|Radio button]] | {{Dataformfield radiobutton search sort}} }}
{{Dataform searchable sortable field table row |#F6F6F6| [[Dataformfield ratingmdl|Rating Mdl]] | None }}
{{Dataform searchable sortable field table row |#F6F6F6| [[Dataformfield ratingmdl|Rating Mdl]] | {{Dataformfield ratingmdl search sort}}  }}
{{Dataform searchable sortable field table row |  | [[Dataformfield select|Select]] | {{Dataformfield select search sort}} }}
{{Dataform searchable sortable field table row |  | [[Dataformfield select|Select]] | {{Dataformfield select search sort}} }}
{{Dataform searchable sortable field table row |#F6F6F6| [[Dataformfield selectmulti|Select (multiple)]] | {{Dataformfield selectmulti search sort}} }}
{{Dataform searchable sortable field table row |#F6F6F6| [[Dataformfield selectmulti|Select (multiple)]] | {{Dataformfield selectmulti search sort}} }}

Revision as of 16:59, 20 March 2014


Using quick filter

Provided the activity creator adds quick filtering options to the view you can search for entries which contain a certain text string and you can limit the number of entries displayed per page.

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 N/A
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
Comment Mdl N/A
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
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