wco_email 0.1.1.56 → 0.1.1.58

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dacc43b17405240a295645fd09cf8c7b2a6dddf02d6b426515456b6842c9000b
4
- data.tar.gz: fcc3e0d85e4af73a72e61b7c813bef7ca5679c5ad7775fbdf76b209dfa37ccd0
3
+ metadata.gz: ee69de6a781e7d30ee9a55bffd62814ec869211f0b97c4430fc49d45e138cfc9
4
+ data.tar.gz: 24123409b3c7261e75db576ce5c95839dcffd36583b25541246114143cdac0ba
5
5
  SHA512:
6
- metadata.gz: 5982f30ee24dba548600ab58a16f462ed90adece8e98c33a18c2966e7e7d1a68d139ca9ac278d5ee64d4ac8e6e6baef9a841a6982d8a26435e1626932379143b
7
- data.tar.gz: d279db94f758a39e160e3ee61c29cfe8f50f86d2bb2591cdfe9985561f913db10a68975c8fca25bed6024891b8e5b6f9b2a43b24e94609ee7944394abad9d4db
6
+ metadata.gz: 1786bc6c59b990a140dfae0209f1a2ab2bb6fa88986d59e16be31d699ef11227905aad42a90591c7376033637d953a7958ec8fe920d3e9044b79f14264d64f15
7
+ data.tar.gz: dfc0322f896a37e3ec10a45d8f85cbb3394b1152d846f480bb1494cfad78200410b919b67d8f4bfebae6bc7642a024cd4707ef26f380ada0ac2845fc50ebb90f
@@ -1,15 +1,4 @@
1
1
 
2
- EC ||= WcoEmail::Conversation
3
- EF ||= WcoEmail::EmailFilter
4
- EM ||= WcoEmail::Message
5
- ET ||= WcoEmail::EmailTemplate
6
- MS ||= WcoEmail::MessageStub
7
- EMS ||= MS
8
- OA ||= Wco::OfficeAction
9
- OAT ||= Wco::OfficeActionTemplate
10
- OATT ||= Wco::OfficeActionTemplateTie
11
- Sch ||= WcoEmail::EmailAction
12
-
13
2
  class WcoEmail::ApplicationController < Wco::ApplicationController
14
3
 
15
4
  layout 'wco_email/application'
@@ -52,11 +52,9 @@ class WcoEmail::ConversationsController < WcoEmail::ApplicationController
52
52
  @conversations = @conversations.where( lead_ids: params[:lead_id] )
53
53
  end
54
54
 
55
- @conversations = @conversations.order_by( latest_at: :desc
56
- ).includes( :leads, :messages
57
- ).page( params[:conv_page]
58
- ).per( current_profile.per_page
59
- )
55
+ @conversations = @conversations.includes( :leads, :messages, :tags
56
+ ).order_by( latest_at: :desc
57
+ ).page( params[:conv_page] ).per( current_profile.per_page )
60
58
  end
61
59
 
62
60
  ## merge conv1 into conv2, and delete conv1
@@ -4,8 +4,7 @@
4
4
  - @tags.each do |tag|
5
5
  %li
6
6
  = link_to tag.slug, conversations_in_path( tag.slug )
7
- -# (#{tag.conversations.unread.length}, #{tag.conversations.length})
8
- (#{tag.conversations.unread.length})
9
- (#{tag.conversations.length})
7
+ -# (#{tag.conversations.unread.length})
8
+ -# (#{tag.conversations.length})
10
9
  = link_to "not", conversations_not_in_path( tag.slug )
11
10
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wco_email
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1.56
4
+ version: 0.1.1.58
5
5
  platform: ruby
6
6
  authors:
7
7
  - Victor Pudeyev
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-02-22 00:00:00.000000000 Z
11
+ date: 2024-02-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-s3