Commit 7e607a85 authored by Michel Pelletier's avatar Michel Pelletier

added sorting info

parent 13e2fe2e
...@@ -229,6 +229,15 @@ class ZCatalog: ...@@ -229,6 +229,15 @@ class ZCatalog:
This will return all objects that have the specified title OR This will return all objects that have the specified title OR
the specified author. 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): def __call__(REQUEST=None, **kw):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment