@@ -706,7 +706,7 @@ def filter(self, request=None, filterspec={}, sort=[], group=[]):
706706 def classhelp (self , properties = None , label = '' "(list)" , width = '500' ,
707707 height = '600' , property = '' , form = 'itemSynopsis' ,
708708 pagesize = 50 , inputtype = "checkbox" , html_kwargs = {},
709- sort = None , filter = None ):
709+ group = '' , sort = None , filter = None ):
710710 """Pop up a javascript window with class help
711711
712712 This generates a link to a popup window which displays the
@@ -747,6 +747,8 @@ def classhelp(self, properties=None, label=''"(list)", width='500',
747747 else :
748748 sort = self ._klass .orderprop ()
749749 sort = '&@sort=' + sort
750+ if group :
751+ group = '&@group=' + group
750752 if property :
751753 property = '&property=%s' % property
752754 if form :
@@ -765,9 +767,9 @@ def classhelp(self, properties=None, label=''"(list)", width='500',
765767 else :
766768 filter = ''
767769 help_url = "%s?@startwith=0&@template=help&" \
768- "properties=%s%s%s%s%s&@pagesize=%s%s" % \
770+ "properties=%s%s%s%s%s%s &@pagesize=%s%s" % \
769771 (self .classname , properties , property , form , type ,
770- sort , pagesize , filter )
772+ group , sort , pagesize , filter )
771773 onclick = "javascript:help_window('%s', '%s', '%s');return false;" % \
772774 (help_url , width , height )
773775 return '<a class="classhelp" href="%s" onclick="%s" %s>%s</a>' % \
0 commit comments