Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-19471

Hidden objects not found in admin interface

    Details

      Description

      Using eZ Find you can not find hidden objects in admin interface.

      In the site.ini.append.php of eZ Find is the following line:

      SearchViewHandling=template
      

      Setting //*SearchViewHandling// to //default*// we will be able to find for hidden objects in the backend.

      The other way of making it work is using //*SearchViewHandling=template// and create an override of the //extension/ezfind/design/admin2/templates/content/search.tpl// template, adding the //ignore_visibility*// parameter to the fetch. Example:

      {set search=fetch(content,search,
                            hash(text,$search_text,
                                 section_id,$search_section_id,
                                 subtree_array,$search_subtree_array,
                                 sort_by,array('modified',false()),
                                 offset,$view_parameters.offset,
                                 ignore_visibility,true(),
                                 limit,$page_limit))}
      

      This only seems to be affecting eZ Find's search, and not the standard search engine.
      If we disable ezfind and then update the search index running //*php bin/php/updatesearchindex.php --clean// and setting //SearchViewHandling=template// we are still able to find hidden objects in the backend, even if we aren't using the //ignore_visibility*// parameter in our fetch on the template (design/admin2/templates/content/search.tpl).

      Steps to reproduce
      1. Log into the administration backend;
      2. Create an object;
      3. Set it to hidden;
      4. Update solr search index;
      5. Search for your hidden object.

        Activity

        Show
        Paul Borgermans added a comment - - edited Fixed in master: https://github.com/ezsystems/ezfind/commit/f986c785d3db1c6396cceea43e27740cf9e384b4 stable-2.7: https://github.com/ezsystems/ezfind/commit/4aa932e47a6b9f8b9cda5a2a2781f06702421baa stable-2.6: https://github.com/ezsystems/ezfind/commit/2dcbfe8fd0551e9efa27c68b27042e1142484db6 stable-2.5: https://github.com/ezsystems/ezfind/commit/6979f9cc9b52fe1c7e9931f958a446a53681e31b stable-2.4: https://github.com/ezsystems/ezfind/commit/226e96b81af9ee9a68f94d90f8e997754c62e78c And corresponding kernel patch https://github.com/ezsystems/ezpublish/commit/c2e35c57ed9efc3e3212c59c9e3911196dbb8ff4
        Hide
        Paul Borgermans added a comment -

        See previous comment with the github commits

        Show
        Paul Borgermans added a comment - See previous comment with the github commits

          People

          • Assignee:
            Unassigned
            Reporter:
            Ricardo Correia
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: