Mark, I can only add my own experience with this and no solution, more from lack of trying I think. I find the same thing with other properties that have ftDefault set. So if I have a number property (say year), and the year has a default value through ftDefault, then it appears that the filter always filters through something, and "clearing" the filter only resets it back to ftDefault. I never got around to trying to fix this behavior, because it only happened on one, rarely used type....pure laziness :)
I'd love to know a solution as well! Tomek On Tue, Mar 10, 2009 at 12:44 PM, Mark Jones <[email protected]>wrote: > > Is there a trick to getting filters to behave w/ boolean data fileds > on the custom datatype admin pages? > > <ft:objectAdmin > title="Testimonials" > typename="testimonials" > ColumnList="showConsumers,showRetailers,name" > SortableColumns="showConsumers,showRetailers,name" > lFilterFields="showConsumers,showRetailers,name,testimonial" > sqlorderby="" /> > > The show* fileds are boolean and track whether the entry is shown to > the audience in question. > > With the code above, I get a constant filter of "result filtered by: > consumers & retailers clear filter" > > If I edit the filter to uncheck the boxes, the actual filter changes, > but the message remains. > > I get a similar issue with another datatype, except that one's > bolleans default to false. Then I get the message "result filtered > by: & & clear filter" without the capability of clearing the message. > > So I just turned off the filters by booleans. Then I came across a > datatype that wanted to filter by Creation date. However, that > involves a checkbox, so I get "result filtered by: created" > > And whenever any filter is in place, hitting "enter" on the filter > form causes the "Clear Filter" button to be pressed instead of the > "set filter" button as expected (FF3). > > Are there any known solutions to any of the above? > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "farcry-dev" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/farcry-dev?hl=en -~----------~----~----~----~------~----~------~--~---
