Commit 588c29db authored by Romain Courteaud's avatar Romain Courteaud

Add contributor parameter to advanced search

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18693 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 8f54a48b
...@@ -133,6 +133,13 @@ for category in (\'group\', \'site\', \'function\', \'publication_section\', \'c ...@@ -133,6 +133,13 @@ for category in (\'group\', \'site\', \'function\', \'publication_section\', \'c
if category_value:\n if category_value:\n
search_string += \' %s:%s\' % (category, category_value)\n search_string += \' %s:%s\' % (category, category_value)\n
\n \n
# Category title search\n
for category in (\'contributor_title\', ):\n
category_value = req.get(category)\n
if category_value:\n
search_string += \' %s:%s\' % (category, category_value)\n
\n
\n
#only my docs\n #only my docs\n
mine = req.get(\'mine\')\n mine = req.get(\'mine\')\n
if mine:\n if mine:\n
......
...@@ -111,6 +111,7 @@ ...@@ -111,6 +111,7 @@
<string>your_mine</string> <string>your_mine</string>
<string>your_newest</string> <string>your_newest</string>
<string>my_created_within</string> <string>my_created_within</string>
<string>your_contributor_title</string>
</list> </list>
</value> </value>
</item> </item>
......
806 808
\ No newline at end of file \ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment