Skip to content
Permalink
Browse files
fixed bug in filtering record fields for display
  • Loading branch information
bartekgorny committed Dec 6, 2018
1 parent 818f0a0 commit 941ea473b53c2ee2022f01c728f274458b23ae00
Showing 1 changed file with 1 addition and 1 deletion.
@@ -240,7 +240,7 @@ apply_limits(_List, all) -> [];
apply_limits(List, Field) when is_atom(Field) ->
[{Field, proplists:get_value(Field, List)}, {more, '...'}];
apply_limits(List, Limits) ->
[lists:filter(fun({K, _}) -> lists:member(K, Limits) end, List), {more, '...'}].
lists:filter(fun({K, _}) -> lists:member(K, Limits) end, List) ++ [{more, '...'}].

%%%%%%%%%%%%%%%
%%% HELPERS %%%

0 comments on commit 941ea47

Please sign in to comment.