Skip to content

Commit d0cf48b

Browse files
authored
Merge pull request #492 from MultinetInteractive/pmerkland-patch-1
Update shortcodes.md
2 parents 6534a8e + a686f61 commit d0cf48b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

new_website/docs/shortcodes.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -229,8 +229,8 @@ results from the API.
229229

230230
You can set the `mode`-attribute to either `event` or `course`, to make the list show events or course templates.
231231

232-
The `orderby`-attribute gives you the possibility to change the sort order of the listed items, and the `order`
233-
-attribute decides in which way it should sort.
232+
The `orderby`-attribute gives you the possibility to change what field the list should be ordered by. The available fields can be found at https://api.eduadmin.se/?page=read#operation/GetEvents or https://api.eduadmin.se/?page=read#operation/GetCourseTemplates depending on what `mode`-attribute you are using, either `event` or `course`,
233+
and the `order`-attribute takes the values ASC or DESC.
234234

235235
`showsearch` will force the search bar to be visible.
236236

0 commit comments

Comments
 (0)