Skip Menu |

This queue is for tickets about the Class-DBI CPAN distribution.

Report information
The Basics
Id: 23158
Status: resolved
Priority: 0/
Queue: Class-DBI

People
Owner: Nobody in particular
Requestors: grazz [...] pobox.com
Cc:
AdminCc:

Bug Information
Severity: Unimportant
Broken in: (no value)
Fixed in: (no value)



Subject: _hm_run_search() and order_by
Given a schema where C<< $foo->has_many('bars') >>, I have been accustomed to use C<< $foo->bars({order_by => "$column $direction"}) >> to retrieve the related rows. This usage breaks without a convenient (IMO) work-around in v3.0.11. Thanks -
Subject: Re: [rt.cpan.org #23158] _hm_run_search() and order_by
Date: Mon, 13 Nov 2006 18:21:00 +0000
To: bug-Class-DBI [...] rt.cpan.org
From: Tony Bowden <tony [...] tmtm.com>
via RT wrote: Show quoted text
> Given a schema where C<< $foo->has_many('bars') >>, I have been > accustomed to use C<< $foo->bars({order_by => "$column $direction"}) >> > to retrieve the related rows. > This usage breaks without a convenient (IMO) work-around in v3.0.11. >
Does Class::DBI::Relationship::HasManyOrdered give you what you need? I'd probably accept a patch if it included a failing test, but it's not high on my agenda at the minute otherwise. Tony