wco_email 0.1.1.65 → 0.1.1.67
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2e9d0992b1efa5fb847eead2fac04d003d5ae0c9f490c8e2cd2ab1d3930381bc
|
4
|
+
data.tar.gz: 2fff9353f6d728e57e684e05932acf84eb6bb47f8d64cbc925ca5412d48b1d05
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8a8e596aa3abe76f2893614a99a5017798248c076a78e6cbf96ed112ba11bebcb15f5e8915aab7bf2b2710661eaa9f3313162911e3ff1e72bae198886e92ae1d
|
7
|
+
data.tar.gz: e29d2c0e6371e4904e7c9cf083fdb32a281cfa5b72a94fcd81d23b5d36adaa7094903fff322e432361cd8ef3357996b9edc9af10606677d31813caa54183542e
|
@@ -46,7 +46,9 @@ class WcoEmail::ContextsController < WcoEmail::ApplicationController
|
|
46
46
|
|
47
47
|
def index
|
48
48
|
authorize! :index, WcoEmail::Context
|
49
|
-
@ctxs = WcoEmail::Context.
|
49
|
+
@ctxs = WcoEmail::Context.where(
|
50
|
+
:send_at.ne => nil, sent_at: nil
|
51
|
+
).order_by( sent_at: :desc, send_at: :desc
|
50
52
|
).page( params[:ctxs_page]
|
51
53
|
).per( current_profile.per_page )
|
52
54
|
|