Forums / Setup & design / ezfind ignore visibility

ezfind ignore visibility

Author Message

Mirko Battisti

Thursday 14 August 2008 5:18:55 am

I use ezfind, I have set "SearchViewHandling=template" in the site.ini.override configuration file so that it uses my template.
In this template I need to do some things (mainly filtering by class type), so I perform the following fetch:

    {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,
                            'publish_date',$search_date,
                            'limit',$page_limit,
                            'ignore_visibility', false()
                            ))}                            

What happen is that the results number returned counts also hidden nodes, but in fact the hidden nodes are not shown, i.e. it says "the search returned 41 results", but the actual number of results is less than that, say 35. I have the feeling that it's the 'ignore_visibility' settings that doesn't work.

Anyone encountered the same issue?

Thank you,
Mirko.

Paul Borgermans

Thursday 14 August 2008 6:23:32 am

Correct,

There are two problems actually related to visibility and wrong counts, but can you file a bug report so I don't loose track of it?

Thanks
Paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

H-Works Agency

Wednesday 20 October 2010 10:04:27 am

Hello,

Is this corrected ? It seems ezfind returns all objects even if they are hidden ?

EZP is Great