Permalink
Browse files

Fix query for haspart of a collection.

  • Loading branch information...
1 parent b314375 commit f72727ff1a05fb2c5b91f0c63445f72ba9667c8a @mworrell mworrell committed Jun 19, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 modules/mod_search/support/search_query.erl
@@ -316,7 +316,7 @@ parse_query([{query_id, Id}|Rest], Context, Result) ->
parse_query(parse_query_text(Q) ++ Rest, Context, Result);
false ->
% Fetch the id's haspart objects (assume a collection)
- parse_query([{hassubject, Id, haspart} | Rest], Context, Result)
+ parse_query([{hassubject, [Id, haspart]} | Rest], Context, Result)
end;
%% rsc_id=<rsc id>

0 comments on commit f72727f

Please sign in to comment.