summaryrefslogtreecommitdiff
path: root/system/api/handlers.go
diff options
context:
space:
mode:
authorSteve Manuel <nilslice@gmail.com>2016-12-06 15:08:22 -0800
committerSteve Manuel <nilslice@gmail.com>2016-12-06 15:08:22 -0800
commit650b67e118c6672c65f1b0fab684695284127e9b (patch)
treedebc6a1d90a38e80f839643ce35f98ec89498dd8 /system/api/handlers.go
parent054f01662788fb3bb7fd2808980e59c3a918e9e3 (diff)
substituting "_{specifier}" => "__{specifier}" so users can add their own types with "_" as a separator and not face conflicts
Diffstat (limited to 'system/api/handlers.go')
-rw-r--r--system/api/handlers.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/api/handlers.go b/system/api/handlers.go
index f31a1eb..8a1517b 100644
--- a/system/api/handlers.go
+++ b/system/api/handlers.go
@@ -72,7 +72,7 @@ func contentsHandler(res http.ResponseWriter, req *http.Request) {
Order: order,
}
- _, bb := db.Query(t+"_sorted", opts)
+ _, bb := db.Query(t+"__sorted", opts)
var result = []json.RawMessage{}
for i := range bb {
result = append(result, bb[i])