[Zope-Checkins] CVS: Zope2 - ZCatalog.py:1.8
Michel Pelletier
michel@digicool.com
Thu, 26 Apr 2001 14:04:17 -0400 (EDT)
Update of /cvs-repository/Zope2/lib/python/Products/ZCatalog/help
In directory korak:/tmp/cvs-serv24048
Modified Files:
ZCatalog.py
Log Message:
added sorting info
--- Updated File ZCatalog.py in package Zope2 --
--- ZCatalog.py 2001/04/26 17:55:06 1.7
+++ ZCatalog.py 2001/04/26 18:04:16 1.8
@@ -229,6 +229,15 @@
This will return all objects that have the specified title OR
the specified author.
+ There are some special index names you can pass to change the
+ behavior of the search query:
+
+ sort_on -- This parameters specifies which index to sort the
+ results on.
+
+ sort_order -- You can specify 'reverse' or 'descending'.
+ Default behavior is to sort ascending.
+
"""
def __call__(REQUEST=None, **kw):