From 254da290ab89f92b72df33123a729123a02dc0ce Mon Sep 17 00:00:00 2001 From: Ivan Tyagov <ivan@nexedi.com> Date: Tue, 2 Mar 2010 12:27:44 +0000 Subject: [PATCH] Extend search string syntax with contributor_title. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@33276 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../portal_skins/erp5_core/Base_parseSearchString.xml | 2 ++ product/ERP5/bootstrap/erp5_core/bt/revision | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_parseSearchString.xml b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_parseSearchString.xml index a68188aebc..7d74ce419c 100644 --- a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_parseSearchString.xml +++ b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_parseSearchString.xml @@ -138,6 +138,8 @@ criterion_alias_dict = {\n \'mine\': (True, None),\n # indicates user search only the newest versions\n \'newest\': (True, None),\n + # indicates user search for documents by contributor title \n + \'contributor_title\':(True, None),\n }\n \n DEFAULT_CRITERION_ALIAS = \'searchabletext\'\n diff --git a/product/ERP5/bootstrap/erp5_core/bt/revision b/product/ERP5/bootstrap/erp5_core/bt/revision index 09518278e8..db9c62ed8b 100644 --- a/product/ERP5/bootstrap/erp5_core/bt/revision +++ b/product/ERP5/bootstrap/erp5_core/bt/revision @@ -1 +1 @@ -1497 \ No newline at end of file +1498 \ No newline at end of file -- 2.30.9