Skip to content
This repository
Browse code

Fix query for haspart of a collection.

  • Loading branch information...
commit f72727ff1a05fb2c5b91f0c63445f72ba9667c8a 1 parent b314375
Marc Worrell mworrell authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  modules/mod_search/support/search_query.erl
2  modules/mod_search/support/search_query.erl
@@ -316,7 +316,7 @@ parse_query([{query_id, Id}|Rest], Context, Result) ->
316 316 parse_query(parse_query_text(Q) ++ Rest, Context, Result);
317 317 false ->
318 318 % Fetch the id's haspart objects (assume a collection)
319   - parse_query([{hassubject, Id, haspart} | Rest], Context, Result)
  319 + parse_query([{hassubject, [Id, haspart]} | Rest], Context, Result)
320 320 end;
321 321
322 322 %% rsc_id=<rsc id>

0 comments on commit f72727f

Please sign in to comment.
Something went wrong with that request. Please try again.