Commit ff8421c2 authored by Bartek Górny's avatar Bartek Górny

fixed some user interface elements

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@9405 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 1b9b1403
......@@ -88,7 +88,7 @@ if mt:\n
wheres.append(\'modification_date<"\'+str(mt)+\'"\')\n
if wheres!=[]:\n
kw[\'where_expression\']=\' AND \'.join(wheres)\n
context.log(\'wheres\',kw[\'where_expression\'])\n
context.log(\'wheres\',kw.get(\'where_expression\',\'x\'))\n
return context.portal_catalog(**kw)\n
......@@ -144,7 +144,6 @@ return context.portal_catalog(**kw)\n
<string>wheres</string>
<string>str</string>
<string>_write_</string>
<string>_getitem_</string>
<string>_apply_</string>
</tuple>
</value>
......
......@@ -73,7 +73,7 @@
# and to add a base category add it in DMSFile property sheets\n
# or manuall for all these portal_types\n
\n
types=(\'Spreadsheet\',\'Text\',\'Presentation\',\'Graphic\',\'DMS File\',\'DMS Pdf File\')\n
types=(\'Spreadsheet\',\'Text\',\'Presentation\',\'Graphic\',\'DMS File\',\'PdfDocument\')\n
nrtypes=len(types)\n
basecatdict={}\n
for t in types:\n
......
......@@ -316,7 +316,48 @@
<item>
<key> <string>all_columns</string> </key>
<value>
<list/>
<list>
<tuple>
<string>id</string>
<string>ID</string>
</tuple>
<tuple>
<string>getPortalType</string>
<string>Type</string>
</tuple>
<tuple>
<string>reference</string>
<string>Reference</string>
</tuple>
<tuple>
<string>short_title</string>
<string>Short Title</string>
</tuple>
<tuple>
<string>title</string>
<string>Title</string>
</tuple>
<tuple>
<string>description</string>
<string>Description</string>
</tuple>
<tuple>
<string>version</string>
<string>Version</string>
</tuple>
<tuple>
<string>int_index</string>
<string>Index</string>
</tuple>
<tuple>
<string>simulation_state</string>
<string>State</string>
</tuple>
<tuple>
<string>original_filename</string>
<string>original_filename</string>
</tuple>
</list>
</value>
</item>
<item>
......@@ -366,7 +407,7 @@
<string>Index</string>
</tuple>
<tuple>
<string>validation_state</string>
<string>simulation_state</string>
<string>State</string>
</tuple>
</list>
......
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