ecm_downloads2_backend 1.1.0 → 1.1.1
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: 95bff8b59fe88b4f5a84cc335c8e5d5f9803fe45
|
4
|
+
data.tar.gz: 3007a1fa811d395136f6e14a3d7d816fc04efa0b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fbb52b73562b7651b39cf223b7480392501f66487addc29e32dd27b5d4c118d95a306ddef82e2240b208ccc004f8b9bdc38007e9a2e8833bd47a69b68d053c6b
|
7
|
+
data.tar.gz: 16921908a353f31cbdd7631610e03b2d4abcf9473f48bbb596f2ef0335dff714fe1944db111df79a025044e18267461b21f0bbdf3457e746323901c80ee14f21
|
@@ -17,7 +17,8 @@ class Ecm::Downloads::Backend::DownloadsController < Itsf::Backend::Resource::Ba
|
|
17
17
|
end
|
18
18
|
|
19
19
|
def collection_scope
|
20
|
-
resource_class.includes(:ecm_downloads_download_category)
|
20
|
+
@q = collection_scope_with_search_scopes(resource_class.includes(:ecm_downloads_download_category)).ransack(params[:q])
|
21
|
+
@q.result(distinct: true)
|
21
22
|
end
|
22
23
|
|
23
24
|
def load_resource
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ecm_downloads2_backend
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Roberto Vasquez Angel
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-04-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|