<?xml version="1.0"?>
<ZopeData>
  <record id="1" aka="AAAAAAAAAAE=">
    <pickle>
      <tuple>
        <global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
        <tuple/>
      </tuple>
    </pickle>
    <pickle>
      <dictionary>
        <item>
            <key> <string>Script_magic</string> </key>
            <value> <int>3</int> </value>
        </item>
        <item>
            <key> <string>_bind_names</string> </key>
            <value>
              <object>
                <klass>
                  <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/>
                </klass>
                <tuple/>
                <state>
                  <dictionary>
                    <item>
                        <key> <string>_asgns</string> </key>
                        <value>
                          <dictionary>
                            <item>
                                <key> <string>name_container</string> </key>
                                <value> <string>container</string> </value>
                            </item>
                            <item>
                                <key> <string>name_context</string> </key>
                                <value> <string>context</string> </value>
                            </item>
                            <item>
                                <key> <string>name_m_self</string> </key>
                                <value> <string>script</string> </value>
                            </item>
                            <item>
                                <key> <string>name_subpath</string> </key>
                                <value> <string>traverse_subpath</string> </value>
                            </item>
                          </dictionary>
                        </value>
                    </item>
                  </dictionary>
                </state>
              </object>
            </value>
        </item>
        <item>
            <key> <string>_body</string> </key>
            <value> <string>kw = {\'reset\':1,\n
      \'SearchableText\':field_your_search_text,\n
      \'your_search_text\':field_your_search_text,\n
      \'all_languages\':all_languages,\n
      \'ignore_hide_rows\': 1,\n
      \'list_style\':list_style}\n
\n
if field_your_search_portal_type:\n
  if field_your_search_portal_type == \'all\':\n
    kw.update({\'portal_type\':list(context.getPortalDocumentTypeList())})\n
  else:\n
    kw.update({\'portal_type\':field_your_search_portal_type})\n
\n
web_section = context.getWebSectionValue()\n
if web_section is not None and \\\n
    not bool(context.REQUEST.get(\'ignore_layout\', False)):\n
  search_context = web_section\n
  if list_style is None:\n
    kw.update({\'list_style\':\'search\'})\n
else:\n
  search_context = context.getPortalObject()\n
\n
return search_context.Base_redirect(field_your_search_form_id, keep_items=kw)\n
</string> </value>
        </item>
        <item>
            <key> <string>_code</string> </key>
            <value>
              <none/>
            </value>
        </item>
        <item>
            <key> <string>_params</string> </key>
            <value> <string>field_your_search_text=\'\', field_your_search_portal_type=\'\', all_languages=None, list_style=None, field_your_search_form_id=\'ERP5Site_viewSearchResult\'</string> </value>
        </item>
        <item>
            <key> <string>errors</string> </key>
            <value>
              <tuple/>
            </value>
        </item>
        <item>
            <key> <string>func_code</string> </key>
            <value>
              <object>
                <klass>
                  <global name="FuncCode" module="Shared.DC.Scripts.Signature"/>
                </klass>
                <tuple/>
                <state>
                  <dictionary>
                    <item>
                        <key> <string>co_argcount</string> </key>
                        <value> <int>5</int> </value>
                    </item>
                    <item>
                        <key> <string>co_varnames</string> </key>
                        <value>
                          <tuple>
                            <string>field_your_search_text</string>
                            <string>field_your_search_portal_type</string>
                            <string>all_languages</string>
                            <string>list_style</string>
                            <string>field_your_search_form_id</string>
                            <string>kw</string>
                            <string>_getattr_</string>
                            <string>list</string>
                            <string>context</string>
                            <string>web_section</string>
                            <string>None</string>
                            <string>bool</string>
                            <string>False</string>
                            <string>search_context</string>
                          </tuple>
                        </value>
                    </item>
                  </dictionary>
                </state>
              </object>
            </value>
        </item>
        <item>
            <key> <string>func_defaults</string> </key>
            <value>
              <tuple>
                <string></string>
                <string></string>
                <none/>
                <none/>
                <string>ERP5Site_viewSearchResult</string>
              </tuple>
            </value>
        </item>
        <item>
            <key> <string>id</string> </key>
            <value> <string>ERP5Site_viewQuickSearchResultList</string> </value>
        </item>
        <item>
            <key> <string>warnings</string> </key>
            <value>
              <tuple/>
            </value>
        </item>
      </dictionary>
    </pickle>
  </record>
</ZopeData>
