Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue 6307 - Wrong set of entries returned for some search filters
Bug description: When the server returns an entry to a search it checks both access and matching of the filter. When evaluating a '!' (NOT) logical expression the server, in a first phase evaluates ONLY the right to access the related component (and its subcomponents). Then in a second phase verifies the matching. If the related component is a OR, in the first phase it evaluates access AND matching, this even if the call was to evaluate only access. This result in incoherent results. Fix description: Make sure that when the function vattr_test_filter_list_or is called to only check access, it does not evaluate the matching. relates: 389ds#6307 Reviewed by:
- Loading branch information