Re: Custom content cause error with filter
Phillip Rasmussen <[email protected]>
| Newsgroups | gmane.comp.cms.farcry.devel |
|---|---|
| Message-ID | <[email protected]> |
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.
farcry-filter.jpg
(image/jpeg, 113.3 KB) - not displayed