24
1
mirror of https://github.com/processone/ejabberd.git synced 2024-06-06 21:37:17 +02:00

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

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