From fb1463c2e7e7b8825e005af6bfe8335d440dbf10 Mon Sep 17 00:00:00 2001
From: Kazuhiko Shiozaki <kazuhiko@nexedi.com>
Date: Wed, 9 Nov 2011 13:13:36 +0100
Subject: [PATCH] use document's keywords if exist instead of the web section's
 ones.

---
 .../portal_skins/erp5_km_theme/template_erp5_km_minimal.xml     | 2 +-
 bt5/erp5_km/bt/revision                                         | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/template_erp5_km_minimal.xml b/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/template_erp5_km_minimal.xml
index 71ec8e5aaf..904ff98595 100644
--- a/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/template_erp5_km_minimal.xml
+++ b/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/template_erp5_km_minimal.xml
@@ -105,7 +105,7 @@
                              is_right_area_empty python:right_list == 0 or len(right_list) == 0;\n
                              is_front_layout python: layout_form is not None and\n
                                                      layout_form.id == \'erp5_km_minimal_front_layout\';\n
-                             subject_list python:here.getLayoutProperty(\'subject_list\') or [];\n
+                             subject_list python:here.getSubjectList() or here.getLayoutProperty(\'subject_list\') or [];\n
                              global header_title python:\'%s | %s\' % (here.getTranslatedTitleOrId(), website.getTranslatedTitleOrId());\n
                              global css_list_template python:[\n
                                     \'%s/erp5_listbox.css\' % portal_path,\n
diff --git a/bt5/erp5_km/bt/revision b/bt5/erp5_km/bt/revision
index e8542c28e0..f9d1235056 100644
--- a/bt5/erp5_km/bt/revision
+++ b/bt5/erp5_km/bt/revision
@@ -1 +1 @@
-1823
\ No newline at end of file
+1824
\ No newline at end of file
-- 
2.30.9