Forums / Developer / AttributeFilter with url datatype comparation not working, why?

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

AttributeFilter with url datatype comparation not working, why?

Author Message

Lucas Aguilar

Wednesday 09 June 2010 9:30:42 am

Dear I copy my problem:
I have a url type field, and when I compare if it is empty does not AttributeFilter me, it's like not taking and brings me all unfiltered:
$ SearchResult = eZSearch:: search ($ contenido_busqueda, array ('SearchContentClassID' => 53, 'AttributeFilter' => array (array (423,'!=',''))),$ searchArray)
or
$ SearchResult = eZSearch: search ($ contenido_busqueda, array ('SearchContentClassID' => 53 'AttributeFilter' => array (array ('tramite_new / link_tramite_online'''))),$'!=', searchArray)
I want to filter the results and not, as it should compare when url field is of type?
thank you very much

Lucas

Lucas Aguilar

Friday 18 June 2010 8:50:03 am

any reply? please?

Lucas.-

Lucas Aguilar

Friday 06 August 2010 5:12:29 am

Hello, a need any help:

As I can see if an attribute of type URL (link), which consists of two fields, one is a descriptive text and the other the corresponding link, always talking about the kind of data they handle Exponential for the url, in a php script as consultants if that field has a link loaded or not?

Example: AttributeFilter '=> array (array (423 ,'!=',''))),$ searchArray)

or

AttributeFilter "=> Array (array (423 ,'<>',null ))),$ searchArray)

Or how?

please?

Greetings!