Share » Forums » Developer » ezselection datatype storing in...

ezselection datatype storing in data_text and '0' in data_float

ezselection datatype storing in data_text and '0' in data_float

Thursday 25 March 2010 4:58:45 am - 3 replies

Author Message

Nicolas Pastorino

Thursday 25 March 2010 8:32:50 am

Hi Sergi,

Would you mind showing us your custom search-form template ? That will probably help us a bit.

Cheers,

--
Nicolas Pastorino
Director Community - eZ
Member of the Community Project Board

eZ Publish Community on twitter: http://twitter.com/ezcommunity

t : http://twitter.com/jeanvoye
G+ : http://plus.tl/jeanvoye

Sergi A

Monday 29 March 2010 8:43:06 am

Thanks Nicolas,

I just revised the template and found an error in my code... now it works :), but i still don't understand why there is a 0 value in the data_float field of the ezselection attribute.. i suppose it is normal, but it was very strange to me to see a null value in the data_int field but a 0 value in data_float one.

Cheers!

Sergi.

Fabien Mas

Tuesday 30 March 2010 9:01:48 am

Hi,

If you have several options selected, it will be stored as : ind1-ind2-ind3-... and it is not anymore a data_int

that's why it is stored in data_text

Cheers!

Fabien

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu