Re: Re: Custom content cause error with filter

Blair McKenzie <[email protected]>
Newsgroups gmane.comp.cms.farcry.devel
Message-ID <CAHJ+aRaVm5_nVLKQNSkOz+YxBi3imzKM3kMQ8ifO2SLCgNPiYg@mail.gmail.com>
To be honest, the whole of the objectadmin tag needs some serious
refactoring.

Blair


On Fri, Jul 12, 2013 at 10:28 AM, Phillip Rasmussen <
[email protected]> wrote:

> I've just spent the morning trying to figure out why I was getting this
> issue.
> If you look at the image I've attached you can see that there are five
> 'products' returned in the query filtered by 'brand' but the scope also
> returns that the total count as 16 and hence 2 pages. Once you clicked to
> page 2 of the list nothing was returned and the only way back was to change
> or removed the filter and go back to page 1 again.
> The 16 ended up being made up of draft versions of products that had the
> correct 'brand' but whose approved version had a different 'band'.
>
> My fix above stops the filter throwing a '' could not be converted to a
> boolean error.
> But I wonder if there need to be some change to the way the
> formtools.getRecordset() works so that it lists the draft pages correctly.
>
> Cheers
> Phil
>
>  --
> You received this message cos you are subscribed to "farcry-dev" Google
> group.
> To post, email: farcry-dev-/[email protected]
> To unsubscribe, email: farcry-dev+unsubscribe-/[email protected]
> For more options: http://groups.google.com/group/farcry-dev
> --------------------------------
> Follow us on Twitter: http://twitter.com/farcry
> ---
> You received this message because you are subscribed to the Google Groups
> "farcry-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to farcry-dev+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/[email protected]
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
You received this message cos you are subscribed to "farcry-dev" Google group.
To post, email: farcry-dev-/[email protected]
To unsubscribe, email: farcry-dev+unsubscribe-/[email protected]
For more options: http://groups.google.com/group/farcry-dev
--------------------------------
Follow us on Twitter: http://twitter.com/farcry
--- 
You received this message because you are subscribed to the Google Groups "farcry-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to farcry-dev+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/[email protected]
For more options, visit https://groups.google.com/groups/opt_out.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.