[Checkins] SVN: z3c.contents/trunk/src/z3c/contents/value.py Added
new configurable condition in the same style like the others.
Roger Ineichen
roger at projekt01.ch
Sat Apr 12 18:41:48 EDT 2008
Log message for revision 85296:
Added new configurable condition in the same style like the others.
This condition is enabled by default.
Changed:
U z3c.contents/trunk/src/z3c/contents/value.py
-=-
Modified: z3c.contents/trunk/src/z3c/contents/value.py
===================================================================
--- z3c.contents/trunk/src/z3c/contents/value.py 2008-04-12 22:40:42 UTC (rev 85295)
+++ z3c.contents/trunk/src/z3c/contents/value.py 2008-04-12 22:41:48 UTC (rev 85296)
@@ -101,6 +101,9 @@
@property
def values(self):
+ # search form is not enabled
+ if not self.table.allowSearch:
+ return self.context.values()
# first setup and update search form
self.table.searchForm = browser.ContentsSearchForm(self.context,
More information about the Checkins
mailing list