#1319 new

Refinements on sets merged with a boolean operator do not work

Reported by gioele | June 12th, 2010 @ 05:02 PM

In some cases, refinement queries do not work.

In order not to work, the base query must be created with a boolean operator like

 base = p1 | p2    # or p1 & p2

and the refinement must be a class method like

 class Foo
     def with_param(value)
         all(:param => value)

The query generated for the with_param refinement does not take into account the base query.

The attachment is a stand-alone test case.

No comments found

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

People watching this ticket