summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9f7bd8e)
raw | patch | inline | side by side (parent: 9f7bd8e)
author | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Sun, 14 Jul 2002 23:17:15 +0000 (23:17 +0000) | ||
committer | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Sun, 14 Jul 2002 23:17:15 +0000 (23:17 +0000) |
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@878 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 72b37584bc99882ca03e4244a9acf8a48fcace7f..3d769eb6d754b2873369c7de65698d5a62cf374e 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.139 2002-07-14 06:14:40 richard Exp $
+# $Id: cgi_client.py,v 1.140 2002-07-14 23:17:15 richard Exp $
__doc__ = """
WWW request handler (also used in the stand-alone server).
def _get_customisation_info(self):
# see if the web has supplied us with any customisation info
- defaults = 1
for key in ':sort', ':group', ':filter', ':columns', ':pagesize':
if self.form.has_key(key):
- defaults = 0
+ # make list() extract the info from the CGI environ
+ self.classname = 'issue'
+ sort = group = filter = columns = filterspec = pagesize = None
break
- if defaults:
+ else:
+ # TODO: look up the session first
# try the instance config first
if hasattr(self.instance, 'DEFAULT_INDEX'):
d = self.instance.DEFAULT_INDEX
columns = self.default_index_columns
filterspec = self.default_index_filterspec
pagesize = self.default_pagesize
- else:
- # make list() extract the info from the CGI environ
- self.classname = 'issue'
- sort = group = filter = columns = filterspec = pagesize = None
return columns, filter, group, sort, filterspec, pagesize
def index(self):
#
# $Log: not supported by cvs2svn $
+# Revision 1.139 2002/07/14 06:14:40 richard
+# Some more TODOs
+#
# Revision 1.138 2002/07/14 04:03:13 richard
# Implemented a switch to disable journalling for a Class. CGI session
# database now uses it.