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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0103ffcfa96cd1fb51e22373751f06f101b69b83
|
4
|
+
data.tar.gz: f5a3b3da1a1cce19c786f7831ae3897a43c58c7e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
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.
|
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-
|
13
|
+
date: 2015-03-05 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: sqlite3
|