summaryrefslogtreecommitdiff
path: root/API.md
diff options
context:
space:
mode:
authorWuzzy <almikes@aol.com>2016-08-12 20:09:46 +0200
committerWuzzy <almikes@aol.com>2016-08-12 20:09:46 +0200
commitebda8931ab57b0467d1b155c5f470454d8d2dd6d (patch)
tree2d0dbf93a24508be13f334c90154655421ea0be4 /API.md
parent57bfa80e4be27942e9d8149be889b518071e197d (diff)
Add simple sort settings
Diffstat (limited to 'API.md')
-rw-r--r--API.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/API.md b/API.md
index d906e95..4dea73a 100644
--- a/API.md
+++ b/API.md
@@ -53,6 +53,11 @@ 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
+ * `"abc"`: Alphabetical (default)
+ * `"nosort": Entries appear in no particular order
+ * A table: Entries appear in exactly the same order as specified in the
+ table of entry IDs
* `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.