aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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