Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix query for haspart of a collection.

  • Loading branch information...
commit f72727ff1a05fb2c5b91f0c63445f72ba9667c8a 1 parent b314375
@mworrell mworrell authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  modules/mod_search/support/search_query.erl
View
2  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>
Please sign in to comment.
Something went wrong with that request. Please try again.