disable all sorted_tags
This commit is contained in:
1 parent
3e567223e3
commit
bd16fc21e5
17 files changed
+32
-2793
No files matched your search
@@ -4,7 +4,7 @@ protected
|
||||
def get_categories_and_tags
|
||||
unless @selected[:module_app].nil?
|
||||
@categories = @selected[:module_app].get_categories
|
||||
@tags = @selected[:module_app].get_tags
|
||||
@tags = @selected[:module_app].tags
|
||||
end
|
||||
end
|
||||
|
||||
@@ -55,4 +55,4 @@ protected
|
||||
end
|
||||
|
||||
|
||||
end
|
||||
end
|
||||
+2
-1
@@ -21,7 +21,8 @@ class Asset
|
||||
before_save :clean_tags
|
||||
|
||||
def sorted_tags
|
||||
tags.order_by(I18n.locale, :asc)
|
||||
#tags.order_by(I18n.locale, :asc)
|
||||
tags
|
||||
end
|
||||
|
||||
protected
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
@@ -200,7 +200,8 @@ class Bulletin
|
||||
end
|
||||
|
||||
# def sorted_tags
|
||||
# tags.order_by(I18n.locale, :asc)
|
||||
# #tags.order_by(I18n.locale, :asc)
|
||||
# tags
|
||||
# end
|
||||
|
||||
|
||||
|
||||
@@ -62,7 +62,8 @@ class ArchiveFile
|
||||
end
|
||||
|
||||
def sorted_tags
|
||||
tags.order_by(I18n.locale, :asc)
|
||||
#tags.order_by(I18n.locale, :asc)
|
||||
tags
|
||||
end
|
||||
|
||||
|
||||
|
||||
+2
-1
@@ -63,7 +63,8 @@ class Qa
|
||||
end
|
||||
|
||||
def sorted_tags
|
||||
tags.order_by(I18n.locale, :asc)
|
||||
#tags.order_by(I18n.locale, :asc)
|
||||
tags
|
||||
end
|
||||
|
||||
def update_avliable_language
|
||||
|
||||
@@ -79,7 +79,8 @@ class WritingBook
|
||||
end
|
||||
|
||||
def sorted_tags
|
||||
tags.order_by(I18n.locale, :asc)
|
||||
#tags.order_by(I18n.locale, :asc)
|
||||
tags
|
||||
end
|
||||
|
||||
def update_avliable_language
|
||||
|
||||
+2
-1
@@ -80,7 +80,8 @@ class WritingConference
|
||||
end
|
||||
|
||||
def sorted_tags
|
||||
tags.order_by(I18n.locale, :asc)
|
||||
#tags.order_by(I18n.locale, :asc)
|
||||
tags
|
||||
end
|
||||
|
||||
def update_avliable_language
|
||||
|
||||
@@ -52,7 +52,8 @@ class Diploma
|
||||
end
|
||||
|
||||
def sorted_tags
|
||||
tags.order_by(I18n.locale, :asc)
|
||||
#tags.order_by(I18n.locale, :asc)
|
||||
tags
|
||||
end
|
||||
|
||||
def update_avliable_language
|
||||
|
||||
@@ -66,7 +66,8 @@ class Experience
|
||||
end
|
||||
|
||||
def sorted_tags
|
||||
tags.order_by(I18n.locale, :asc)
|
||||
#tags.order_by(I18n.locale, :asc)
|
||||
tags
|
||||
end
|
||||
|
||||
def update_avliable_language
|
||||
|
||||
@@ -63,7 +63,8 @@ class Honor
|
||||
end
|
||||
|
||||
def sorted_tags
|
||||
tags.order_by(I18n.locale, :asc)
|
||||
#tags.order_by(I18n.locale, :asc)
|
||||
tags
|
||||
end
|
||||
|
||||
def update_avliable_language
|
||||
|
||||
@@ -81,7 +81,8 @@ class WritingJournal
|
||||
end
|
||||
|
||||
def sorted_tags
|
||||
tags.order_by(I18n.locale, :asc)
|
||||
#tags.order_by(I18n.locale, :asc)
|
||||
tags
|
||||
end
|
||||
|
||||
def update_avliable_language
|
||||
|
||||
+2
-1
@@ -72,7 +72,8 @@ class Lab
|
||||
end
|
||||
|
||||
def sorted_tags
|
||||
tags.order_by(I18n.locale, :asc)
|
||||
#tags.order_by(I18n.locale, :asc)
|
||||
tags
|
||||
end
|
||||
|
||||
def update_avliable_language
|
||||
|
||||
@@ -72,7 +72,8 @@ class WritingPatent
|
||||
end
|
||||
|
||||
def sorted_tags
|
||||
tags.order_by(I18n.locale, :asc)
|
||||
#tags.order_by(I18n.locale, :asc)
|
||||
tags
|
||||
end
|
||||
|
||||
def update_avliable_language
|
||||
|
||||
@@ -74,7 +74,8 @@ class Project
|
||||
end
|
||||
|
||||
def sorted_tags
|
||||
tags.order_by(I18n.locale, :asc)
|
||||
#tags.order_by(I18n.locale, :asc)
|
||||
tags
|
||||
end
|
||||
|
||||
def update_avliable_language
|
||||
|
||||
@@ -69,7 +69,8 @@ class Research
|
||||
end
|
||||
|
||||
def sorted_tags
|
||||
tags.order_by(I18n.locale, :asc)
|
||||
#tags.order_by(I18n.locale, :asc)
|
||||
tags
|
||||
end
|
||||
|
||||
def update_avliable_language
|
||||
|
||||
@@ -59,7 +59,8 @@ class WebLink
|
||||
end
|
||||
|
||||
def sorted_tags
|
||||
tags.order_by(I18n.locale, :asc)
|
||||
#tags.order_by(I18n.locale, :asc)
|
||||
tags
|
||||
end
|
||||
|
||||
def update_avliable_language
|
||||
|
||||
Reference in new issue
Block a user