vulgata 0.3.6 → 0.3.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/vulgata/team_controller.rb +3 -1
- data/lib/vulgata/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9da976118b621606f01818f8ace6447391b6dc5f
|
4
|
+
data.tar.gz: 9d24f9d430909a5d4c96c3eb356220aefb859d1f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c4080d90e16de6e9eb7094218def5f9b143331275436f1b15ecc086736bbdabb1d958e584d49f207452a5cea617fe2da2db59db23cfd5d60955a5279ca15b324
|
7
|
+
data.tar.gz: d450f6e2ea58cfd4af5d4e1ca44bcfc75747d5aeffd80c5f6157520c2ff49e286c65a1a9f6a13d0b530ebcb0a5e75c72d460d9bcae7044f3b80228448f4656ff
|
@@ -26,7 +26,9 @@ module Vulgata
|
|
26
26
|
|
27
27
|
@total_translated = Vulgata::TranslationStateVersion.where(status: Vulgata::TranslationState.statuses[:done])
|
28
28
|
@total_translated = @total_translated.where(user: @user)
|
29
|
-
@total_translated = @total_translated.group(:vulgata_translation_state_id)
|
29
|
+
@total_translated = @total_translated.group(:vulgata_translation_state_id)
|
30
|
+
@total_translated = @total_translated.select(:vulgata_translation_state_id)
|
31
|
+
@total_translated = @total_translated.length || 0
|
30
32
|
|
31
33
|
@translated_this_week = translated_in_time_period(DateTime.current.beginning_of_week)
|
32
34
|
@translated_this_month = translated_in_time_period(DateTime.current.beginning_of_month)
|
data/lib/vulgata/version.rb
CHANGED