projects
/
dbsrgits/DBIx-Class.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
1b8f2dd
)
fix stupid mistake in _extract_order_criteria
Matt S Trout [Mon, 7 Oct 2013 12:25:13 +0000 (12:25 +0000)]
lib/DBIx/Class/Storage/DBIHacks.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/DBIx/Class/Storage/DBIHacks.pm
b/lib/DBIx/Class/Storage/DBIHacks.pm
index
70dbfae
..
f72c866
100644
(file)
--- a/
lib/DBIx/Class/Storage/DBIHacks.pm
+++ b/
lib/DBIx/Class/Storage/DBIHacks.pm
@@
-804,7
+804,7
@@
sub _extract_order_criteria {
my $order_dq = $sql_maker->converter->_order_by_to_dq($order_by);
my @by;
- while (is_Literal($order_dq)) {
+ while (is_Order($order_dq)) {
push @by, $order_dq->{by};
$order_dq = $order_dq->{from};
}