ish_models 0.0.33.65 → 0.0.33.66
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/tag.rb +2 -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: 955019ea5afef2fa2085b5f8897835d72c2836f3
|
4
|
+
data.tar.gz: f51667a367864f3a3a25d398d657d288685c12ac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1d143fa72becd5cb9755da2d65f28fb62786b89676676e2cd9ba1b8df137cc59d25994912abf1daf229954929224b72c2515342b50f5d68896b23e6551df0e17
|
7
|
+
data.tar.gz: 4585a9d597d32e8b3d3976980ac68c594f6fe29535e1b0ca06488b278a8cdca8bb7a0d28ea2b0d602df66627157cbe8d8bf286045eb6d0aaf9e6367a19a98b76
|
data/lib/tag.rb
CHANGED
@@ -52,9 +52,10 @@ class Tag
|
|
52
52
|
Tag.where( :parent_tag_id => nil )
|
53
53
|
end
|
54
54
|
|
55
|
+
# the first blank used to be disabled, not anymore _vp_ 20180418
|
55
56
|
def self.list
|
56
57
|
out = Tag.unscoped.order_by( :name => :asc )
|
57
|
-
return( [['', nil
|
58
|
+
return( [['', nil]] + out.map { |item| [ item.name, item.id ] } )
|
58
59
|
end
|
59
60
|
|
60
61
|
# @deprecated, there will be no reports or galleries in tags. There will be only features and newsitems
|