translation_center 2.0.1 → 2.0.2

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: 73cc7ca99fab28be936e25cb27ca191d73ea67cf
4
- data.tar.gz: 6ddc9259b02e7c53a6b7d30a66be2026d4f544a2
3
+ metadata.gz: 0103ffcfa96cd1fb51e22373751f06f101b69b83
4
+ data.tar.gz: f5a3b3da1a1cce19c786f7831ae3897a43c58c7e
5
5
  SHA512:
6
- metadata.gz: 6af06086f8b3dc23bbbe7658d041a4d27ce52dc1675032f1cb6808dcb4e7b28b9f0f02917963a5235d9287e0a2dc8331384c3e81322dc03beeea153abc58f598
7
- data.tar.gz: ad2d4fa823c7713718b38aa8acc06f5ec542be5b61438dea8f2b953e90db4ed5556d1ec51379775760ce336cad668e13a20dcd2ffd5630665f71aecea2cd1c97
6
+ metadata.gz: 440d21307f86c4fbd87cb7bacb1e0cb44e1216c11e78a55a0a12b6b118d4ee25c2e1054f1dd243d4a0e4ddfbcc3d6dd75a43567e9caac8f74854b00f1eb53d98
7
+ data.tar.gz: 00c010e129e768952dd9a16bc90d25173440faa2147ddd7575fd13903f7de398ccbd6cdb16af45dc4d5321c9037aeb3f878ec77ecc7f344f5f69d6d44a9f9af3
@@ -35,7 +35,8 @@ module TranslationCenter
35
35
  # GET /categories/1/more_keys.js
36
36
  def more_keys
37
37
  @category = Category.find(params[:category_id])
38
- @keys = @category.send("#{session[:current_filter]}_keys", session[:lang_to]).offset(@page - 1).limit(TranslationKey::PER_PAGE)
38
+ # @keys = @category.send("#{session[:current_filter]}_keys", session[:lang_to]).offset((@page - 1)* TranslationKey::PER_PAGE).limit(TranslationKey::PER_PAGE)
39
+ @keys = @category.send("#{session[:current_filter]}_keys", session[:lang_to]).offset((@page - 1)* TranslationKey::PER_PAGE).limit(TranslationKey::PER_PAGE)
39
40
  respond_to do |format|
40
41
  format.js { render 'keys' }
41
42
  end
@@ -1,3 +1,3 @@
1
1
  module TranslationCenter
2
- VERSION = "2.0.1"
2
+ VERSION = "2.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: translation_center
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.1
4
+ version: 2.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - BadrIT
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2015-03-04 00:00:00.000000000 Z
13
+ date: 2015-03-05 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: sqlite3