azahara_schema 0.3.16 → 0.3.17
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/azahara_schema/schema.rb +2 -2
- data/lib/azahara_schema/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: dd4b953ec9e87bd60e50c5f7cf0d8e38e457f2264716ce7f9d6c55b6090af1ec
|
4
|
+
data.tar.gz: d6810844b4ab94e4ede45ca30175a22b496e755215361510f65dc9dacf8086fa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cfa4987a5433a20fa7ccd3ebdd0b0cbf2acda074004148458f771bbb62e28a407039ad6eb1d23603085fd91a106e3365cb65cb2d4f60282d80d66d13c600a28c
|
7
|
+
data.tar.gz: a68a29b0686450a30e1289a696c23f570a218f4b5ecad094ea574d00048ba3a57df14e2c417cdd2640d9745d0cd5d897aac7f2c8198c7c28f809d6e33f277e03
|
@@ -282,9 +282,9 @@ module AzaharaSchema
|
|
282
282
|
columns.each do |col|
|
283
283
|
scope = col.add_preload(scope)
|
284
284
|
end
|
285
|
-
sort.
|
285
|
+
sort.keys.reverse.each do |name|
|
286
286
|
att = attribute(name)
|
287
|
-
scope = att.add_sort(scope,
|
287
|
+
scope = att.add_sort(scope, sort[name]) if att
|
288
288
|
end
|
289
289
|
scope = scope.offset(offset) if offset
|
290
290
|
scope = scope.limit(limit) if limit
|