#84 ✓resolved
Tomash

allow (explicit?) :include even in calculations

Reported by Tomash | April 23rd, 2009 @ 10:05 AM

Hi,

since version 1.6.3 (AFAIR) SearchLogic ignores :include part when doing calculations. Well, I need them really included, as they're used in :conditions (my own custom inheriting from Searchlogic::Condition::Base etc.) and the values from joined columns actually really determine what (and in what amounts) gets pulled from the table.

Why/where? Pagination of elements (so count is executed) that's display is controlled by access-like values in other, joined tables (I want to list only the thing accessible for given user).

Could there be an option to really really include the :include even in calculations?

Comments and changes to this ticket

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 ยป

Provides common named scopes and object based searching.

People watching this ticket

Pages