Restore get_items conditions when not using RSM (#1147)

This commit is contained in:
Christophe Romain 2016-06-22 13:12:40 +02:00
parent eeeb190680
commit f029488260
1 changed files with 2 additions and 1 deletions

View File

@ -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