services 7.1.0 → 7.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/services/query.rb +2 -3
- data/lib/services/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 621c6acc5bc9ebaf65890b555aa55a7cd65b50519ad8368e812d82cca5c2048a
|
4
|
+
data.tar.gz: 2884eaebce77e4aaf07aee880c18609eb886c3445293d2fe5d0b07e32ac62197
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 70a85cb138c89aebd170d71e7885335eb02c8316b40def1505f247d01a4938319b4d9772ce013698d2324137805cae443501bd35c78858815ecc1ef3f7fc5f86
|
7
|
+
data.tar.gz: 45f924ed5b752acd0bf1077726fbef253c6fb4d5fcb9622cd574d15c09464cff223ee5adbfa12a376b865dac06c8fd0daf9e70d82ca8967e957caa30cff978c6
|
data/lib/services/query.rb
CHANGED
@@ -97,11 +97,10 @@ module Services
|
|
97
97
|
end
|
98
98
|
scope = scope.joins(join_conditions)
|
99
99
|
end
|
100
|
-
|
101
|
-
order = order_part
|
102
100
|
when !table_name
|
103
|
-
|
101
|
+
order_part.prepend "#{object_class.table_name}."
|
104
102
|
end
|
103
|
+
order_part
|
105
104
|
end.join(', ')
|
106
105
|
|
107
106
|
scope = scope.order(order)
|
data/lib/services/version.rb
CHANGED