Commits

Anonymous committed d72f08f

bugfix: find_all result was reversed

Comments (0)

Files changed (1)

 
 
 find_all_seq(Collection, Selector, Options) ->
-    fold_all_seq(fun(I, A) -> [I | A] end, [], Collection, Selector, Options).
+    lists:reverse(fold_all_seq(fun(I, A) -> [I | A] end, [], Collection, Selector, Options)).
 
 %%------------------------------------------------------------------------------
 %% fold_all