Re: [Zope] Variable sort and multiple sort in dtml-in

2001-01-18 Thread Steve Spicklemire


Hi Loren,

   There is also Zieve:

http://www.zope.org/Members/sspickle/Zieve

Not quite as easy as a 'fixed' dtml-in ...  but it
does work (today). 

-steve

 "Loren" == Loren Stafford [EMAIL PROTECTED] writes:

Loren On 02 July 2000, Adam Karpierz, posted a patch that would
Loren allow an expression for the sort specification for the
Loren dtml-in tag. Did that patch, or something like it, ever
Loren find its way into the Zope core?

Loren I also seem to remember some discussion of sorting on
Loren multiple items (but can't find any trace of it in the
Loren archives). For example, in an employee directory, sort on
Loren employee name within department. Anyone know how?

Loren I'm trying to provide user-specified sorting on the records
Loren I pull from a SQL database. When the user specifies sorting
Loren on Department, I assume he wants the records order by Name
Loren within each department, but I can't see how to do that with
Loren ZSQL or dtml-in.

Loren -- Loren


Loren ___ Zope
Loren maillist - [EMAIL PROTECTED]
Loren http://lists.zope.org/mailman/listinfo/zope ** No cross
Loren posts or HTML encoding!  ** (Related lists -
Loren http://lists.zope.org/mailman/listinfo/zope-announce
Loren http://lists.zope.org/mailman/listinfo/zope-dev )


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] Variable sort and multiple sort in dtml-in

2001-01-17 Thread Loren Stafford

On 02 July 2000, Adam Karpierz, posted a patch that would allow an
expression for the sort specification for the dtml-in tag. Did that patch,
or something like it, ever find its way into the Zope core?

I also seem to remember some discussion of sorting on multiple items (but
can't find any trace of it in the archives). For example, in an employee
directory, sort on employee name within department. Anyone know how?

I'm trying to provide user-specified sorting on the records I pull from a
SQL database. When the user specifies sorting on Department, I assume he
wants the records order by Name within each department, but I can't see how
to do that with ZSQL or dtml-in.

-- Loren


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )