tabulatr2 0.9.41 → 0.9.42

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
  SHA256:
3
- metadata.gz: 4d56242840b7333c103911c17c94c35986e779a141623a27187c61981b5242d1
4
- data.tar.gz: 87ebb4da7f34266535e8d7a9378b7a9b056b6efc11c73fc126c5715286ca1ad8
3
+ metadata.gz: 3624f2a8a6deb97586dcf52581d2f27c59c0f20b28ea752effe769ba781b2367
4
+ data.tar.gz: 404f28d859860947e9c07f6e51c6504363cd147fec4a03e666c9e7ac50fd5874
5
5
  SHA512:
6
- metadata.gz: e3b7821bce09f5218a04bd3f89467cb2f678e7ae8a185513b20411d4bbd1ea0f2328f2f335392ae1ee045f7f958b804ba71b1ac5b5ffdb66c00e16c910e659f6
7
- data.tar.gz: caaa50e7ef7c6edf8c23fb869d80205c258297a2fc84197d6f9eb35051404bcba463147705a9846668cf241e2f86d5bd7a9969d434c607b15b1641ed23d429e7
6
+ metadata.gz: 73fb1ec12aa0542c2fff0c626ce0139252a978cd75e92740e3a2432e4e917b7f3be9831b095d33741e4af2987bc8960909242a70febaeddbb75775582eb54d44
7
+ data.tar.gz: e0d0edf3600e9fa05465919341bcfd49eb39901036bbc6753efe675f4c2c7bcde9049405c147bd43fb45026a60544da8e6c565f04653ab5bc9eae2cf94d53bfa
@@ -110,10 +110,10 @@ class Tabulatr::Data
110
110
  # Params
111
111
  #++
112
112
 
113
- def filter_params(params) params["#{Tabulatr::Utility.formatted_name(@base.name)}_filter"] end
114
- def search_param(params) params["#{Tabulatr::Utility.formatted_name(@base.name)}_search"] end
115
- def sort_params(params) params["#{Tabulatr::Utility.formatted_name(@base.name)}_sort"] end
116
- def batch_params(params) params["#{Tabulatr::Utility.formatted_name(@base.name)}_batch"] end
113
+ def filter_params(params) params["#{Tabulatr::Utility.formatted_name(@base.name)}_filter"] || params["filter"] end
114
+ def search_param(params) params["#{Tabulatr::Utility.formatted_name(@base.name)}_search"] || params["search"] end
115
+ def sort_params(params) params["#{Tabulatr::Utility.formatted_name(@base.name)}_sort"] || params["sort"] end
116
+ def batch_params(params) params["#{Tabulatr::Utility.formatted_name(@base.name)}_batch"] || params["batch"] end
117
117
  def check_params(params)
118
118
  tabulatr_checked = params["tabulatr_checked"]
119
119
  if tabulatr_checked.present?
@@ -22,5 +22,5 @@
22
22
  #++
23
23
 
24
24
  module Tabulatr
25
- VERSION = "0.9.41"
25
+ VERSION = "0.9.42"
26
26
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tabulatr2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.41
4
+ version: 0.9.42
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Horn
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2020-05-15 00:00:00.000000000 Z
13
+ date: 2020-05-17 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rails