mirror of
https://github.com/processone/ejabberd.git
synced 2024-09-27 14:30:55 +02:00
Restore get_items conditions when not using RSM (#1147)
This commit is contained in:
parent
eeeb190680
commit
f029488260
@ -689,7 +689,8 @@ get_items(Nidx, _From,
|
|||||||
aft when I == <<>> -> {<<"is not">>, <<"desc">>};
|
aft when I == <<>> -> {<<"is not">>, <<"desc">>};
|
||||||
aft -> {<<"<">>, <<"desc">>};
|
aft -> {<<"<">>, <<"desc">>};
|
||||||
before when I == <<>> -> {<<"is not">>, <<"asc">>};
|
before when I == <<>> -> {<<"is not">>, <<"asc">>};
|
||||||
before -> {<<">">>, <<"asc">>}
|
before -> {<<">">>, <<"asc">>};
|
||||||
|
_ -> {<<"is not">>, <<"desc">>}
|
||||||
end,
|
end,
|
||||||
SNidx = integer_to_binary(Nidx),
|
SNidx = integer_to_binary(Nidx),
|
||||||
[AttrName, Id] = case I of
|
[AttrName, Id] = case I of
|
||||||
|
Loading…
Reference in New Issue
Block a user