Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
e6c61f04
Commit
e6c61f04
authored
Apr 15, 2002
by
Andreas Jung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
split overlong lines
parent
3fe9432a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
5 deletions
+9
-5
lib/python/Products/PluginIndexes/TopicIndex/TopicIndex.py
lib/python/Products/PluginIndexes/TopicIndex/TopicIndex.py
+9
-5
No files found.
lib/python/Products/PluginIndexes/TopicIndex/TopicIndex.py
View file @
e6c61f04
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
#
#
##############################################################################
##############################################################################
__version__
=
'$Id: TopicIndex.py,v 1.
3 2002/03/11 14:54:36
andreasjung Exp $'
__version__
=
'$Id: TopicIndex.py,v 1.
4 2002/04/15 19:00:45
andreasjung Exp $'
from
Products.PluginIndexes
import
PluggableIndex
from
Products.PluginIndexes
import
PluggableIndex
from
Products.PluginIndexes.common.util
import
parseIndexRequest
from
Products.PluginIndexes.common.util
import
parseIndexRequest
...
@@ -180,7 +180,8 @@ class TopicIndex(PluggableIndex.PluggableIndex, Persistent,
...
@@ -180,7 +180,8 @@ class TopicIndex(PluggableIndex.PluggableIndex, Persistent,
self
.
addFilteredSet
(
filterId
,
typeFilteredSet
,
expr
)
self
.
addFilteredSet
(
filterId
,
typeFilteredSet
,
expr
)
if
RESPONSE
:
if
RESPONSE
:
RESPONSE
.
redirect
(
URL1
+
'/manage_workspace?manage_tabs_message=FilteredSet%20added'
)
RESPONSE
.
redirect
(
URL1
+
'/manage_workspace?'
'manage_tabs_message=FilteredSet%20added'
)
def
manage_delFilteredSet
(
self
,
filterIds
=
[],
URL1
=
None
,
\
def
manage_delFilteredSet
(
self
,
filterIds
=
[],
URL1
=
None
,
\
...
@@ -191,7 +192,8 @@ class TopicIndex(PluggableIndex.PluggableIndex, Persistent,
...
@@ -191,7 +192,8 @@ class TopicIndex(PluggableIndex.PluggableIndex, Persistent,
self
.
delFilteredSet
(
filterId
)
self
.
delFilteredSet
(
filterId
)
if
RESPONSE
:
if
RESPONSE
:
RESPONSE
.
redirect
(
URL1
+
'/manage_workspace?manage_tabs_message=FilteredSet(s)%20deleted'
)
RESPONSE
.
redirect
(
URL1
+
'/manage_workspace?'
'manage_tabs_message=FilteredSet(s)%20deleted'
)
def
manage_saveFilteredSet
(
self
,
filterId
,
expr
,
URL1
=
None
,
\
def
manage_saveFilteredSet
(
self
,
filterId
,
expr
,
URL1
=
None
,
\
...
@@ -201,7 +203,8 @@ class TopicIndex(PluggableIndex.PluggableIndex, Persistent,
...
@@ -201,7 +203,8 @@ class TopicIndex(PluggableIndex.PluggableIndex, Persistent,
self
.
filteredSets
[
filterId
].
setExpression
(
expr
)
self
.
filteredSets
[
filterId
].
setExpression
(
expr
)
if
RESPONSE
:
if
RESPONSE
:
RESPONSE
.
redirect
(
URL1
+
'/manage_workspace?manage_tabs_message=FilteredSet(s)%20updated'
)
RESPONSE
.
redirect
(
URL1
+
'/manage_workspace?'
'manage_tabs_message=FilteredSet(s)%20updated'
)
def
manage_clearFilteredSet
(
self
,
filterIds
=
[],
URL1
=
None
,
\
def
manage_clearFilteredSet
(
self
,
filterIds
=
[],
URL1
=
None
,
\
...
@@ -212,7 +215,8 @@ class TopicIndex(PluggableIndex.PluggableIndex, Persistent,
...
@@ -212,7 +215,8 @@ class TopicIndex(PluggableIndex.PluggableIndex, Persistent,
self
.
clearFilteredSet
(
filterId
)
self
.
clearFilteredSet
(
filterId
)
if
RESPONSE
:
if
RESPONSE
:
RESPONSE
.
redirect
(
URL1
+
'/manage_workspace?manage_tabs_message=FilteredSet(s)%20cleared'
)
RESPONSE
.
redirect
(
URL1
+
'/manage_workspace?'
'manage_tabs_message=FilteredSet(s)%20cleared'
)
editFilteredSet
=
DTMLFile
(
'dtml/editFilteredSet'
,
globals
())
editFilteredSet
=
DTMLFile
(
'dtml/editFilteredSet'
,
globals
())
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment