corn_starch 1.1.29 → 1.1.30
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4eab6f42590238f4290d39d8a6efd8e896f6ef82
|
4
|
+
data.tar.gz: 897319c648618e7d20a7a2b41e811d3e822b294b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1a053933ef239aaf7cf7aeed7c193ef5e5a3afa279d9a118e6e66d017ad319c06f2a223ea6cd1b206cc01e408a5866e8acceea3cace960f5a08a68bfec198a64
|
7
|
+
data.tar.gz: 4db03dd3326b9e8e230e697104894983731e484b74cd171cc97089e9236c99910f98d62320dd8beaa849348eefbf9255e36c6ccc58d296904fed5c60776df452
|
@@ -60,11 +60,14 @@ module CornStarch
|
|
60
60
|
@cs_pagination[:links] = []
|
61
61
|
@cs_pagination[:pg_count] = 0
|
62
62
|
|
63
|
+
# DEBUG
|
64
|
+
puts "================== FILTER : #{@cs_pagination.inspect} / #{session.inspect} / #{CORNSTARCH_CONF.inspect}"
|
65
|
+
|
63
66
|
# Acquire Records per Page from Session / Configuration
|
64
67
|
@cs_pagination[:recs_per_page] = (session[:pagination][:recs_per_page] || CORNSTARCH_CONF[:pagination][:records_per_page][:default]).to_i
|
65
68
|
|
66
69
|
# DEBUG
|
67
|
-
puts "==================
|
70
|
+
puts "================== FILTER2 : #{@cs_pagination.inspect}"
|
68
71
|
|
69
72
|
end
|
70
73
|
|
data/lib/corn_starch/version.rb
CHANGED