projects
/
dbsrgits/DBIx-Class.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Make sure order realiasing remains in proper sequence on sorting
[dbsrgits/DBIx-Class.git]
/
lib
/
DBIx
/
Class
/
SQLMaker
/
LimitDialects.pm
diff --git
a/lib/DBIx/Class/SQLMaker/LimitDialects.pm
b/lib/DBIx/Class/SQLMaker/LimitDialects.pm
index
a0ea4ef
..
d3ea35c
100644
(file)
--- a/
lib/DBIx/Class/SQLMaker/LimitDialects.pm
+++ b/
lib/DBIx/Class/SQLMaker/LimitDialects.pm
@@
-773,7
+773,7
@@
sub _subqueried_limit_attrs {
next if $in_sel_index->{$chunk};
$extra_order_sel->{$chunk} ||= $self->_quote (
- 'ORDER__BY__' . scalar keys %{$extra_order_sel||{}}
+ 'ORDER__BY__' . sprintf '%03d', scalar keys %{$extra_order_sel||{}}
);
}