このコミットが含まれているのは:
@@ -42,7 +42,7 @@ class SitemapEntriesController < ApplicationController
|
||||
when 'descriptions'
|
||||
TagDescription.where(language_code: locale.language_code, tag_id: named_tags)
|
||||
.where.not(body: [nil, ''])
|
||||
.where(TagDescriptionVersion
|
||||
.where(HistoryAccess.visible(TagDescriptionVersion.all)
|
||||
.where('tag_description_versions.tag_id = tag_descriptions.tag_id')
|
||||
.where('tag_description_versions.language_code = tag_descriptions.language_code')
|
||||
.where('tag_description_versions.version_no = tag_descriptions.version_no')
|
||||
@@ -50,6 +50,7 @@ class SitemapEntriesController < ApplicationController
|
||||
when 'tag_groups'
|
||||
TagGroup.joins(:versions)
|
||||
.where('tag_group_versions.version_no = tag_groups.version_no')
|
||||
.where(Arel.sql(HistoryAccess.sql(TagGroupVersion)))
|
||||
when 'theatres'
|
||||
Theatre.kept
|
||||
end
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする