ui_bibz 3.0.12 → 3.0.13

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: 3de9508c810d547d33326d4a972bd2433e8713dbf9375d8ea190e98c4ad33ddd
4
- data.tar.gz: c703697faa4486ec6f9ee30bd5c81ad9c0794b7aa183b44d06cbe48cef4a7461
3
+ metadata.gz: 54ca4e2e0b202ae39a08094990382124d427d76eba3f660363c38c1885149b0e
4
+ data.tar.gz: f0852432106832dbe47e0352eb5b429c871b915527a2521f67bee0f0cd354cc8
5
5
  SHA512:
6
- metadata.gz: 221ce464b0e8f84b914dd94c81fbfe5dcc34eb8b3534ec9a76fdb660419079ab6232ddf528e2e19ac55ea946c01f99d71e4e3d2cf5063855449333e152b9c5db
7
- data.tar.gz: 2c0289ea4c25f7ff68ff936f41a8556dd576941124fca9671ccdd0839eb4ec6240989f3f4ab17d01b269841ebf5e2df2a343d3adecd82a3ebe130935e276307f
6
+ metadata.gz: ffbedff59c7693aa52801cdb3160c37da738f5c6f1ba108c7c70381904b33011948ab43de44441dfa8206a11d880665e115383a5cd8e1fe85d7a55c2c0db7d07
7
+ data.tar.gz: 4f99eaa56f041cfec23eded17669fe997c9504d2423e10f5a636543b89d35373e3287199022936904df16d85ff71e0ec74d1f6cbd6f83fa462d74bc5313ecc8b
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ui_bibz (3.0.12)
4
+ ui_bibz (3.0.13)
5
5
  will-paginate-i18n
6
6
  will_paginate (~> 3.3.0)
7
7
  will_paginate-bootstrap4
@@ -112,7 +112,7 @@ module UiBibz::Concerns::Models::Searchable
112
112
  end
113
113
 
114
114
  def self.default_order
115
- @arguments.dig(:default, :order) || ''
115
+ @arguments[:order] || { created_at: :desc }
116
116
  end
117
117
 
118
118
  def self.search_by_query(sql)
data/lib/ui_bibz/infos.rb CHANGED
@@ -12,6 +12,6 @@ module UiBibz
12
12
  REPO = 'git+https://github.com/thooams/ui_bibz.git'
13
13
  EMAIL = 'thomas@hummel.link'
14
14
  AUTHOR = 'Thooams [Thomas HUMMEL]'
15
- VERSION = '3.0.12'
15
+ VERSION = '3.0.13'
16
16
  AUTHORS = ['Thooams'].freeze
17
17
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ui_bibz
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.12
4
+ version: 3.0.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thooams [Thomas HUMMEL]