Commit 1737886f authored by Yusei Tahara's avatar Yusei Tahara

2007-12-18 yusei

*Fixed wrong field names in erp5_dms.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18397 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c6507061
......@@ -99,14 +99,14 @@ modemap = { \'natural\' : 0,\n
\'boolean\' : \'in_boolean_mode\',\n
\'expanded\': \'with_query_expansion\'}\n
if mode and modemap.has_key(mode):\n
args[\'SearchableText\'] = dict(query = args[\'SearchableText\'], \n
args[\'searchabletext\'] = dict(query = args[\'searchabletext\'], \n
search_mode = modemap[mode])\n
\n
# a hack because SQLCatalog wants table.key now \n
# dunno if it is a bug or a feature\n
if args.has_key(\'SearchableText\'):\n
args[\'full_text.SearchableText\'] = args[\'SearchableText\']\n
args.pop(\'SearchableText\')\n
if args.has_key(\'searchabletext\'):\n
args[\'full_text.SearchableText\'] = args[\'searchabletext\']\n
args.pop(\'searchabletext\')\n
\n
creation_from = kw.get(\'creation_from\')\n
creation_to = kw.get(\'creation_to\')\n
......
2007-12-18 yusei
*Fixed wrong field names in erp5_dms.
2007-12-10 yusei
* Update SQLCatalog_makeAdvancedSearchQuery for renaming external method in erp5_dms.
......
571
\ No newline at end of file
575
\ 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