[Catalyst-commits] r14454 -
CatalystX-CRUD/CatalystX-CRUD-Model-RDBO/trunk/lib/CatalystX/CRUD/Model
karpet at dev.catalyst.perl.org
karpet at dev.catalyst.perl.org
Fri Jul 19 17:05:03 GMT 2013
Author: karpet
Date: 2013-07-19 17:05:03 +0000 (Fri, 19 Jul 2013)
New Revision: 14454
Modified:
CatalystX-CRUD/CatalystX-CRUD-Model-RDBO/trunk/lib/CatalystX/CRUD/Model/RDBO.pm
Log:
do not attempt to sort by related class since we do not know column names (easily) yet
Modified: CatalystX-CRUD/CatalystX-CRUD-Model-RDBO/trunk/lib/CatalystX/CRUD/Model/RDBO.pm
===================================================================
--- CatalystX-CRUD/CatalystX-CRUD-Model-RDBO/trunk/lib/CatalystX/CRUD/Model/RDBO.pm 2013-07-19 16:42:49 UTC (rev 14453)
+++ CatalystX-CRUD/CatalystX-CRUD-Model-RDBO/trunk/lib/CatalystX/CRUD/Model/RDBO.pm 2013-07-19 17:05:03 UTC (rev 14454)
@@ -304,7 +304,7 @@
if ( @{ $query->{query} } ) {
@arg = ( query => $query->{query} );
}
- for (qw( limit offset sort_by )) {
+ for (qw( limit offset )) {
if ( exists $query->{$_} and length $query->{$_} ) {
push( @arg, $_ => $query->{$_} );
}
More information about the Catalyst-commits
mailing list