summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 36f10fe)
raw | patch | inline | side by side (parent: 36f10fe)
author | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Sun, 17 Mar 2002 23:06:05 +0000 (23:06 +0000) | ||
committer | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Sun, 17 Mar 2002 23:06:05 +0000 (23:06 +0000) |
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@676 57a73879-2fb5-44c3-a270-3262357dd7e2
roundup/cgi_client.py | patch | blob | history |
diff --git a/roundup/cgi_client.py b/roundup/cgi_client.py
index e6a69c27a0d26db47350001f7068b83b5d8014ed..f466e7d0a1b0297594cf1b9a8467de3282f2dc80 100644 (file)
--- a/roundup/cgi_client.py
+++ b/roundup/cgi_client.py
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
#
-# $Id: cgi_client.py,v 1.113 2002-03-14 23:59:24 richard Exp $
+# $Id: cgi_client.py,v 1.114 2002-03-17 23:06:05 richard Exp $
__doc__ = """
WWW request handler (also used in the stand-alone server).
break
if defaults:
# try the instance config first
- if hasattr(self.instance, 'DEFAULT_INDEX_CLASS'):
- self.classname = self.instance.DEFAULT_INDEX_CLASS
- sort = self.instance.DEFAULT_INDEX_SORT
- group = self.instance.DEFAULT_INDEX_GROUP
- filter = self.instance.DEFAULT_INDEX_FILTER
- columns = self.instance.DEFAULT_INDEX_COLUMNS
- filterspec = self.instance.DEFAULT_INDEX_FILTERSPEC
+ if hasattr(self.instance, 'DEFAULT_INDEX'):
+ d = self.instance.DEFAULT_INDEX
+ self.classname = d['CLASS']
+ sort = d['SORT']
+ group = d['GROUP']
+ filter = d['FILTER']
+ columns = d['COLUMNS']
+ filterspec = d['FILTERSPEC']
else:
# nope - fall back on the old way of doing it
#
# $Log: not supported by cvs2svn $
+# Revision 1.113 2002/03/14 23:59:24 richard
+# . #517734 ] web header customisation is obscure
+#
# Revision 1.112 2002/03/12 22:52:26 richard
# more pychecker warnings removed
#