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
ec3d4ccf
Commit
ec3d4ccf
authored
Jan 29, 2001
by
Christopher Petrilli
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Merged in extra information.
parent
4e882ed7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
lib/python/Products/ZCatalog/Catalog.py
lib/python/Products/ZCatalog/Catalog.py
+8
-2
No files found.
lib/python/Products/ZCatalog/Catalog.py
View file @
ec3d4ccf
...
...
@@ -525,8 +525,14 @@ class Catalog(Persistent, Acquisition.Implicit, ExtensionClass.Base):
rs
=
data
.
items
()
append
(
LazyMap
(
self
.
instantiate
,
rs
))
else
:
for
k
,
intset
in
sort_index
.
_index
.
items
():
append
((
k
,
LazyMap
(
self
.
__getitem__
,
intset
)))
try
:
for
k
,
intset
in
sort_index
.
_index
.
items
():
append
((
k
,
LazyMap
(
self
.
__getitem__
,
intset
)))
except
AttributeError
:
raise
ValueError
,
"Incorrect index name passed as "
\
"'sort_on' parameter. Note that you may only "
\
"sort on values for which there is a matching "
\
"index available."
elif
rs
:
if
sort_index
is
None
and
type
(
rs
)
is
IIBType
:
# then there is score information. Build a new result
...
...
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