Mercurial > p > roundup > code
diff roundup/cgi/actions.py @ 3913:00896a2acaa5
clean up query display of "Private to you" items
Previously the handling of queries in the edit menu was a little wonky. If
you change a query to not be private to you then you lose the ability to
ever change it back to being private.
Previously the queries were displayed in three chunks: First all retired
queries. Then all queries private to the current user (this batch has the
dropdown for toggling private state). Then all non-private queries.
Now: all queries we created that are retired, all queries that we created
that are not retired, then all non-private queries not created by the
current user.
this should fix [SF#1481394]
| author | Justus Pendleton <jpend@users.sourceforge.net> |
|---|---|
| date | Thu, 20 Sep 2007 23:44:58 +0000 |
| parents | de4c2e538e06 |
| children | c4f7b3817d3d |
line wrap: on
line diff
--- a/roundup/cgi/actions.py Thu Sep 20 19:42:48 2007 +0000 +++ b/roundup/cgi/actions.py Thu Sep 20 23:44:58 2007 +0000 @@ -1,4 +1,4 @@ -#$Id: actions.py,v 1.70 2007-05-15 16:23:39 schlatterbeck Exp $ +#$Id: actions.py,v 1.71 2007-09-20 23:44:58 jpend Exp $ import re, cgi, StringIO, urllib, Cookie, time, random, csv, codecs @@ -148,7 +148,7 @@ """ self.fakeFilterVars() queryname = self.getQueryName() - + # editing existing query name? old_queryname = self.getFromForm('old-queryname')
