Skip to content

Commit eb99da7

Browse files
author
Richard Jones
committed
merge from HEAd
1 parent 098f156 commit eb99da7

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

doc/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
STXTOHTML = rst2html.py
2-
STXTOHT = python /usr/bin/rst2ht.py
2+
STXTOHT = rst2ht.py
33
WEBDIR = ../../htdocs/htdocs/doc-0.7
44

55
SOURCE = announcement.txt customizing.txt developers.txt FAQ.txt features.txt \

doc/customizing.txt

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1620,8 +1620,18 @@ properties return a `hyperdb property wrapper`_ for all of this class's
16201620
list lists all of the active (not retired) items in the class.
16211621
csv return the items of this class as a chunk of CSV text.
16221622
propnames lists the names of the properties of this class.
1623-
filter lists of items from this class, filtered and sorted by the
1624-
current *request* filterspec/filter/sort/group args
1623+
filter lists of items from this class, filtered and sorted. Two
1624+
options are avaible for sorting:
1625+
1626+
1. by the current *request* filterspec/filter/sort/group args
1627+
2. by the "filterspec", "sort" and "group" keyword args.
1628+
"filterspec" is ``{propname: value(s)}``. "sort" and
1629+
"group" are ``(dir, prop)`` where dir is '+', '-' or None
1630+
and prop is a prop name or None.
1631+
1632+
eg. ``issue.filter(filterspec={"priority": "1"},
1633+
sort=('activity', '+'))``
1634+
16251635
classhelp display a link to a javascript popup containing this class'
16261636
"help" template.
16271637
submit generate a submit button (and action hidden element)

0 commit comments

Comments
 (0)