From 1c349e05e7abdaaa76d2939733288d070b970a8f Mon Sep 17 00:00:00 2001
From: Ivan Tyagov <ivan@nexedi.com>
Date: Fri, 30 Oct 2009 10:07:16 +0000
Subject: [PATCH] Explicitly do NOT hide listbox rows for Web Section when
 viewed in web mode.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@30139 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../erp5_web/WebSection_viewAsWeb/listbox.xml   | 17 +++++++++++------
 bt5/erp5_web/bt/revision                        |  2 +-
 2 files changed, 12 insertions(+), 7 deletions(-)

diff --git a/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/WebSection_viewAsWeb/listbox.xml b/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/WebSection_viewAsWeb/listbox.xml
index bec3e8bf8f..2f17fd2b6c 100644
--- a/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/WebSection_viewAsWeb/listbox.xml
+++ b/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/WebSection_viewAsWeb/listbox.xml
@@ -13,17 +13,18 @@
             <key> <string>delegated_list</string> </key>
             <value>
               <list>
-                <string>title</string>
-                <string>lines</string>
                 <string>columns</string>
-                <string>sort</string>
-                <string>list_method</string>
                 <string>count_method</string>
-                <string>selection_name</string>
+                <string>editable_columns</string>
+                <string>hide_rows_on_no_search_criterion</string>
+                <string>lines</string>
+                <string>list_method</string>
                 <string>portal_types</string>
                 <string>search</string>
                 <string>select</string>
-                <string>editable_columns</string>
+                <string>selection_name</string>
+                <string>sort</string>
+                <string>title</string>
               </list>
             </value>
         </item>
@@ -126,6 +127,10 @@
                     <key> <string>form_id</string> </key>
                     <value> <string>Base_viewWebFieldLibrary</string> </value>
                 </item>
+                <item>
+                    <key> <string>hide_rows_on_no_search_criterion</string> </key>
+                    <value> <int>0</int> </value>
+                </item>
                 <item>
                     <key> <string>lines</string> </key>
                     <value> <int>10</int> </value>
diff --git a/bt5/erp5_web/bt/revision b/bt5/erp5_web/bt/revision
index 49681e7139..0aa5559ec4 100644
--- a/bt5/erp5_web/bt/revision
+++ b/bt5/erp5_web/bt/revision
@@ -1 +1 @@
-865
\ No newline at end of file
+866
\ No newline at end of file
-- 
2.30.9