diff options
author | Christophe Romain <christophe.romain@process-one.net> | 2016-06-22 13:12:40 +0200 |
---|---|---|
committer | Christophe Romain <christophe.romain@process-one.net> | 2016-06-22 13:12:40 +0200 |
commit | f0294882608a89a2c8de3ecbe284a54df49cd0c4 (patch) | |
tree | 70bc5b621d211e01fe67b55bfc9d434c056747f7 /src | |
parent | Set 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.erl | 3 |
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 |