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
8bb5cca3
Commit
8bb5cca3
authored
Apr 19, 2001
by
Chris McDonough
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Merged delete-from kw-mapping fix into trunk.
parent
a2ca2136
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
lib/python/Products/ZCatalog/Catalog.py
lib/python/Products/ZCatalog/Catalog.py
+0
-2
No files found.
lib/python/Products/ZCatalog/Catalog.py
View file @
8bb5cca3
...
@@ -635,12 +635,10 @@ class Catalog(Persistent, Acquisition.Implicit, ExtensionClass.Base):
...
@@ -635,12 +635,10 @@ class Catalog(Persistent, Acquisition.Implicit, ExtensionClass.Base):
# Compute "sort_index", which is a sort index, or none:
# Compute "sort_index", which is a sort index, or none:
if
kw
.
has_key
(
'sort-on'
):
if
kw
.
has_key
(
'sort-on'
):
sort_index
=
kw
[
'sort-on'
]
sort_index
=
kw
[
'sort-on'
]
del
kw
[
'sort-on'
]
elif
hasattr
(
self
,
'sort-on'
):
elif
hasattr
(
self
,
'sort-on'
):
sort_index
=
getattr
(
self
,
'sort-on'
)
sort_index
=
getattr
(
self
,
'sort-on'
)
elif
kw
.
has_key
(
'sort_on'
):
elif
kw
.
has_key
(
'sort_on'
):
sort_index
=
kw
[
'sort_on'
]
sort_index
=
kw
[
'sort_on'
]
del
kw
[
'sort_on'
]
else
:
sort_index
=
None
else
:
sort_index
=
None
sort_order
=
''
sort_order
=
''
if
sort_index
is
not
None
:
if
sort_index
is
not
None
:
...
...
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