summaryrefslogtreecommitdiff
path: root/API.md
diff options
context:
space:
mode:
authorWuzzy <almikes@aol.com>2016-08-13 10:24:17 +0200
committerWuzzy <almikes@aol.com>2016-08-13 10:24:17 +0200
commit4d92bc5ef3bd17b15f341c6bf2e2de21344817ef (patch)
tree77fe097b590b254be051b0a48e3bbdfc859b6a32 /API.md
parenta8e72e500800f8493fb317cd0f00e5150e4f1950 (diff)
Minor API rewording
Diffstat (limited to 'API.md')
-rw-r--r--API.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/API.md b/API.md
index 38d3bfd..636263a 100644
--- a/API.md
+++ b/API.md
@@ -53,15 +53,16 @@ data.
will be shown as tooltip. Recommended style (in English):
First letter capitalized, no puncation at end of sentence,
max. 100 characters
- * `sorting`: (optional) Sorting method of entries
+ * `sorting`: (optional) Sorting algorithm for display order of entries
* `"abc"`: Alphabetical (default)
* `"nosort"`: Entries appear in no particular order
- * `"custom"`: Manually define the order of entries
+ * `"custom"`: Manually define the order of entries in `sorting_data`
* `sorting_data`: Additional data for special sorting methods.
If `sorting=="custom"`, this field must contain a table (list form) in which
the entry IDs are specified in the order they are supposed to appear in the
entry list. All entries which are missing in this table will appear in no
particular order below the final specified one.
+ This field is not required if `sorting` has any other value
* `build_formspec`: The template function. Takes entry data as its
only parameter (has the data type of the entry data) and must
return a formspec which is inserted in the Entry tab.