Author: reinhard
Date: 2007-06-18 09:15:23 -0500 (Mon, 18 Jun 2007)
New Revision: 9721
Modified:
trunk/gnue-forms/src/GFObjects/GFBlock.py
Log:
Fixed removal of (all) and (empty) from dropdown list on apply_filter for
detail blocks.
Modified: trunk/gnue-forms/src/GFObjects/GFBlock.py
===================================================================
--- trunk/gnue-forms/src/GFObjects/GFBlock.py 2007-06-18 09:56:26 UTC (rev 9720)
+++ trunk/gnue-forms/src/GFObjects/GFBlock.py 2007-06-18 14:15:23 UTC (rev 9721)
@@ -585,7 +585,6 @@
if self.__get_master_block() is None:
# Condition for the master block
conditions = self.__generate_condition_tree()
- self.__refresh_choices()
self.__in_query = True
try:
@@ -593,6 +592,9 @@
finally:
self.__in_query = False
+ # Update list of allowed values
+ self.__refresh_choices()
+
# -------------------------------------------------------------------------
def set_filter(self, *args, **params):
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.