diff --git a/docs/changelog/7.x.x.txt b/docs/changelog/7.x.x.txt index 47e9b376b..8d127a23d 100644 --- a/docs/changelog/7.x.x.txt +++ b/docs/changelog/7.x.x.txt @@ -1,4 +1,5 @@ 7.10.11 + - fixed #12057: WebGUI::Search, assetIds search clause 7.10.10 - fixed #12035: Story Manager - make keywords from Story view work diff --git a/lib/WebGUI/Search.pm b/lib/WebGUI/Search.pm index 7d401946c..96b2c7b2e 100644 --- a/lib/WebGUI/Search.pm +++ b/lib/WebGUI/Search.pm @@ -285,6 +285,9 @@ A hash reference containing rules for a search. The rules will will be hash refe { keywords => "something to search for", lineage => [ "000001000005", "000001000074000003" ] }; +All rules, except for assetIds, are logically AND'ed together to create a finer search. assetIds are OR'ed to the final +query. + =head4 keywords This rule limits the search results to assets that match keyword criteria. @@ -303,6 +306,8 @@ This rule limits the search to a specific set of assetIds. An array reference of assetIds => [ "PBasset000000000000001", ] +Unlike every other rule, this rule is logically OR'ed with the other rules. + =head4 classes This rule limits the search to a specific set of asset classes. An array reference of class names.