Commit 39efe3ad authored by Bartek Górny's avatar Bartek Górny

listbox - show traslated simulation state, search by type and short_title (#10, #11)

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@10293 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ca679a31
...@@ -140,6 +140,12 @@ ...@@ -140,6 +140,12 @@
<dictionary/> <dictionary/>
</value> </value>
</item> </item>
<item>
<key> <string>short_title</string> </key>
<value>
<dictionary/>
</value>
</item>
<item> <item>
<key> <string>summary</string> </key> <key> <string>summary</string> </key>
<value> <value>
...@@ -186,6 +192,7 @@ ...@@ -186,6 +192,7 @@
<string>summary</string> <string>summary</string>
<string>language</string> <string>language</string>
<string>version</string> <string>version</string>
<string>short_title</string>
</list> </list>
</value> </value>
</item> </item>
...@@ -222,7 +229,8 @@ modified\r\n ...@@ -222,7 +229,8 @@ modified\r\n
review_state\r\n review_state\r\n
summary\r\n summary\r\n
language\r\n language\r\n
version</string> </value> version\r\n
short_title</string> </value>
</item> </item>
<item> <item>
<key> <string>cache_time_</string> </key> <key> <string>cache_time_</string> </key>
...@@ -287,7 +295,8 @@ VALUES\n ...@@ -287,7 +295,8 @@ VALUES\n
<dtml-sqlvar expr="review_state[loop_item]" type="string" optional>,\n <dtml-sqlvar expr="review_state[loop_item]" type="string" optional>,\n
<dtml-sqlvar expr="summary[loop_item]" type="string" optional>,\n <dtml-sqlvar expr="summary[loop_item]" type="string" optional>,\n
<dtml-sqlvar expr="language[loop_item]" type="string" optional>,\n <dtml-sqlvar expr="language[loop_item]" type="string" optional>,\n
<dtml-sqlvar expr="version[loop_item]" type="string" optional>\n <dtml-sqlvar expr="version[loop_item]" type="string" optional>,\n
<dtml-sqlvar expr="short_title[loop_item]" type="string" optional>\n
)\n )\n
<dtml-if sequence-end>\n <dtml-if sequence-end>\n
<dtml-else>\n <dtml-else>\n
...@@ -357,7 +366,8 @@ VALUES\n ...@@ -357,7 +366,8 @@ VALUES\n
<dtml-sqlvar expr="review_state[loop_item]" type="string" optional>,\n <dtml-sqlvar expr="review_state[loop_item]" type="string" optional>,\n
<dtml-sqlvar expr="summary[loop_item]" type="string" optional>,\n <dtml-sqlvar expr="summary[loop_item]" type="string" optional>,\n
<dtml-sqlvar expr="language[loop_item]" type="string" optional>,\n <dtml-sqlvar expr="language[loop_item]" type="string" optional>,\n
<dtml-sqlvar expr="version[loop_item]" type="string" optional>\n <dtml-sqlvar expr="version[loop_item]" type="string" optional>,\n
<dtml-sqlvar expr="short_title[loop_item]" type="string" optional>\n
)\n )\n
<dtml-if sequence-end>\n <dtml-if sequence-end>\n
<dtml-else>\n <dtml-else>\n
......
...@@ -123,6 +123,7 @@ CREATE TABLE `compatibility` (\n ...@@ -123,6 +123,7 @@ CREATE TABLE `compatibility` (\n
`summary` text,\n `summary` text,\n
`language` varchar(5) default \'\',\n `language` varchar(5) default \'\',\n
`version` varchar(10) default \'\',\n `version` varchar(10) default \'\',\n
`short_title` varchar(100) default \'\',\n
PRIMARY KEY (`uid`),\n PRIMARY KEY (`uid`),\n
KEY `Type` (`Type`),\n KEY `Type` (`Type`),\n
KEY `review_state` (`review_state`)\n KEY `review_state` (`review_state`)\n
...@@ -187,6 +188,7 @@ CREATE TABLE `compatibility` (\n ...@@ -187,6 +188,7 @@ CREATE TABLE `compatibility` (\n
`summary` text,\n `summary` text,\n
`language` varchar(5) default \'\',\n `language` varchar(5) default \'\',\n
`version` varchar(10) default \'\',\n `version` varchar(10) default \'\',\n
`short_title` varchar(100) default \'\',\n
PRIMARY KEY (`uid`),\n PRIMARY KEY (`uid`),\n
KEY `Type` (`Type`),\n KEY `Type` (`Type`),\n
KEY `review_state` (`review_state`)\n KEY `review_state` (`review_state`)\n
......
...@@ -61,9 +61,6 @@ ...@@ -61,9 +61,6 @@
<key> <string>group_list</string> </key> <key> <string>group_list</string> </key>
<value> <value>
<list> <list>
<string>left</string>
<string>right</string>
<string>center</string>
<string>bottom</string> <string>bottom</string>
</list> </list>
</value> </value>
...@@ -74,30 +71,12 @@ ...@@ -74,30 +71,12 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>bottom</string> </key> <key> <string>bottom</string> </key>
<value>
<list/>
</value>
</item>
<item>
<key> <string>center</string> </key>
<value>
<list/>
</value>
</item>
<item>
<key> <string>left</string> </key>
<value> <value>
<list> <list>
<string>listbox</string> <string>listbox</string>
</list> </list>
</value> </value>
</item> </item>
<item>
<key> <string>right</string> </key>
<value>
<list/>
</value>
</item>
</dictionary> </dictionary>
</value> </value>
</item> </item>
......
...@@ -322,7 +322,7 @@ ...@@ -322,7 +322,7 @@
<string>ID</string> <string>ID</string>
</tuple> </tuple>
<tuple> <tuple>
<string>getPortalType</string> <string>portal_type</string>
<string>Type</string> <string>Type</string>
</tuple> </tuple>
<tuple> <tuple>
...@@ -350,7 +350,7 @@ ...@@ -350,7 +350,7 @@
<string>Index</string> <string>Index</string>
</tuple> </tuple>
<tuple> <tuple>
<string>simulation_state</string> <string>translated_simulation_state</string>
<string>State</string> <string>State</string>
</tuple> </tuple>
<tuple> <tuple>
...@@ -379,7 +379,7 @@ ...@@ -379,7 +379,7 @@
<string>ID</string> <string>ID</string>
</tuple> </tuple>
<tuple> <tuple>
<string>getPortalType</string> <string>portal_type</string>
<string>Type</string> <string>Type</string>
</tuple> </tuple>
<tuple> <tuple>
...@@ -407,7 +407,7 @@ ...@@ -407,7 +407,7 @@
<string>Index</string> <string>Index</string>
</tuple> </tuple>
<tuple> <tuple>
<string>simulation_state</string> <string>translated_simulation_state</string>
<string>State</string> <string>State</string>
</tuple> </tuple>
</list> </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