Google Groups Home
Help | Sign in
Message from discussion Paginate: sorting by multiple fields in default_order
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Roger Demetrescu  
View profile
 More options Nov 20 2007, 9:34 pm
From: "Roger Demetrescu" <roger.demetre...@gmail.com>
Date: Tue, 20 Nov 2007 23:34:10 -0300
Local: Tues, Nov 20 2007 9:34 pm
Subject: Re: [TurboGears] Paginate: sorting by multiple fields in default_order
Hei Joel   (resending to ML)

On Nov 20, 2007 10:20 PM, Joel Pearson <j...@pythonica.com> wrote:

> Roger Demetrescu wrote:
> > Have you any news on this ?
> > I'd really like to see this feature in TG 1.0.4....  ;)

> > If you can quickly fill a ticket with your patch, we can ask Florent
> > to wait a couple of hours more before releasing 1.0.4b3 ...

> > And don't worry about tests. I can code them before applying your patch...   :)

> Sorry for the delay. I just went to re-create the patch against the current
> version, but I won't be able to finish merging my changes for another 6 hours
> or so, due to prior commitments. Also, I didn't mention previously that my
> current version alters the appearance of the URL variable *_tgp_ordering from
> being a URL-encoded dict to being a simple comma-separated list of field names
> in sort order, with optional leading dashes on each field name to indicate
> reversed order. (Note: I didn't change any internal data structures, just how
> the URL is produced in get_href() and how it is parsed in convert_order().)

> Thus, what previously looked like this (in the URL):

Don't worry... I got some time free and started coding the patch myself.

It is finished and all tests are running ok.

I am just polishing the tests and comments, and will commit them very
soon... (in 1/2 hour)

If you didn't create a ticket already, I'll do it, linking it to this thread.

Thanks for motivating us !!  :D

[]s
Roger


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google