Share » Forums » General » [resolve] No result of avanced search...

[resolve] No result of avanced search with search_text empty

[resolve] No result of avanced search with search_text empty

Friday 31 August 2007 5:35:57 am - 5 replies

Modified on Friday 31 August 2007 7:46:35 am by Stéphane Bullier

Author Message

André R.

Friday 31 August 2007 6:02:33 am

[SearchSettings]
AllowEmptySearch=enabled
EnableWildcard=true
MinCharacterWildcard=0 

and search for *

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Stéphane Bullier

Friday 31 August 2007 7:46:12 am

Hi André,

Thank you very much for your answer.

It's perfect.

Stéphane

David Suela

Monday 26 May 2008 8:47:58 am

This doesn't work with version 4.0

I have this code:

{set $search=fetch(content,search,
                      hash(text,$search_text,
                           section_id,$search_section_id,
                           subtree_array,$search_sub_tree,
                           class_id,$search_contentclass_id,
                           class_attribute_id,$search_contentclass_attribute_id,
                           offset,$view_parameters.offset,
			   sort_by, array('published', false()),
                           publish_timestamp, array($from_timestamp, $to_timestamp),
                           limit,$page_limit))}

And always return 0 results.

If i change in kernel/search/plugins/ezsearchengine/ezsearchengine.php

- if ( $searchPartsArray === null && $this->TempTablesCount == 0 )
+ if ( count($searchPartsArray) == 0 && $this->TempTablesCount == 0 )

it works.

xsto.info <el acceso a la información>
http://xsto.info
http://dominios.coop

André R.

Tuesday 27 May 2008 12:34:34 am

Could you please add a bug report in the issue tracker?

I have patched the enhanced version of eZ Search engine:
http://projects.ez.no/ezsearchpro

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

David Suela

Tuesday 27 May 2008 2:21:16 am

Ok. Bug reported.

xsto.info <el acceso a la información>
http://xsto.info
http://dominios.coop

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

36 542 Users on board!

Forums menu