aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristophe Romain <christophe.romain@process-one.net>2016-06-22 13:12:40 +0200
committerChristophe Romain <christophe.romain@process-one.net>2016-06-22 13:12:40 +0200
commitf0294882608a89a2c8de3ecbe284a54df49cd0c4 (patch)
tree70bc5b621d211e01fe67b55bfc9d434c056747f7 /src
parentSet HTTP/1.0 so github accepts the request (#1157) (diff)
Restore get_items conditions when not using RSM (#1147)
Diffstat (limited to 'src')
-rw-r--r--src/node_flat_sql.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/node_flat_sql.erl b/src/node_flat_sql.erl
index 0869f531c..68116cf50 100644
--- a/src/node_flat_sql.erl
+++ b/src/node_flat_sql.erl
@@ -689,7 +689,8 @@ get_items(Nidx, _From,
aft when I == <<>> -> {<<"is not">>, <<"desc">>};
aft -> {<<"<">>, <<"desc">>};
before when I == <<>> -> {<<"is not">>, <<"asc">>};
- before -> {<<">">>, <<"asc">>}
+ before -> {<<">">>, <<"asc">>};
+ _ -> {<<"is not">>, <<"desc">>}
end,
SNidx = integer_to_binary(Nidx),
[AttrName, Id] = case I of