Hi list,
I'm trying to use collective.formcriteria (Plone-3.1.7,
collective.formcriteria-0.9.5) to get a smart filtering for MyCollection.
I set indexes and metadata both in 'portal_catalog' and
'plone_control_panel/collection'. Then I went to MyCollection and I set
criterias for:
'Type', to show only MyType;
'MyIntegerField', to show only items with the value in a certain range
by selecting 'Integer value or range' and to display it in the search
form in the portlet.
All this process works fine: items are filtered and I can see
'MyIntegerField' in the formcriteria's portlet... so far so good, BUT
when I try to update the filter on MyIntegerField trough the portlet
every items simply disappear!
i.e: I set a range 0:100 and it shows me 5 items. If I put in the
portlet a second value of 80, instead of showing me 4 items it shows NO
items and worst, even if a re-insert 100 in the second value nothing
happens and I have to reload the page to get my items. The weird thing
is that if I set 0:80 trough the criteria tab it works fine and it shows
me 4 items.
I tried to filter by MyTextField trough the portlet and it works, so my
question is: is there a bug which affects only numeric fields or am I
missing some strange setting (maybe some parameter or flag in the schema)?
Thanks
SimO
_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers