disable all sorted_tags

This commit is contained in:
Matt K. Fu 2013-04-26 18:07:59 +08:00
parent 3e567223e3
commit 64101109dd
17 changed files with 32 additions and 2793 deletions

View File

@ -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

View File

@ -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

View File

@ -200,7 +200,8 @@ class Bulletin
end
# def sorted_tags
# tags.order_by(I18n.locale, :asc)
# #tags.order_by(I18n.locale, :asc)
# tags
# end

View File

@ -62,7 +62,8 @@ class ArchiveFile
end
def sorted_tags
tags.order_by(I18n.locale, :asc)
#tags.order_by(I18n.locale, :asc)
tags
end

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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