Share » Forums » Developer » filtering a enum field

filtering a enum field

filtering a enum field

Sunday 03 July 2005 9:26:00 pm - 3 replies

Author Message

Daniel Beyer

Monday 04 July 2005 8:14:09 am

Hi Johann,

this probably isn't helpful, but I suggest you do not use ezenum at all. It is officially deprecated since eZ publish 3.3. ezselection is replacing ezenum, so give that datatype a try.
The only fact ezenum is still in the core of eZ publish is because of backward compatibility.

Daniel Beyer
_________________________________
YMC AG
Kreuzlingen, Switzerland
web: www.ymc.ch
____________________________________

johann savalle

Monday 04 July 2005 9:17:19 am

mmm, I tried, and indeed... it doesn't do much ;)
but it 's still good to know...

so the topic is still open... if anyone had an idea how to do it, it would save time :) meanwhile, I'll try to crack it myself and update this issue if I find what's wrong...

johann savalle

Monday 04 July 2005 9:34:33 am

forget what I said above, it actually solved the problem
attribute_filter, array(array('575', '=',0)) is working.
I just got confused at the begining because I tried with the string description of the selection, but if we use id instead everything goes fine.

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

36 542 Users on board!

Forums menu