versions: remove 'subsequent' version comparison option.

This option was rarely used and what it actually did was usually
difficult to understand.
This commit is contained in:
evazion
2022-09-18 05:32:02 -05:00
parent 1d2bac7b95
commit 0c919a6bc8
9 changed files with 2 additions and 36 deletions

View File

@@ -62,7 +62,7 @@ module ApplicationHelper
def version_type_links(params)
html = []
%w[previous subsequent current].each do |type|
%w[previous current].each do |type|
if type == params[:type]
html << %{<span>#{type}</span>}
else

View File

@@ -6,8 +6,6 @@ module ArtistVersionsHelper
this_names = artist_version.other_names
if other.present?
other_names = other.other_names
elsif type == "subsequent"
other_names = this_names
else
other_names = []
end
@@ -24,8 +22,6 @@ module ArtistVersionsHelper
this_urls = artist_version.urls
if other.present?
other_urls = other.urls
elsif type == "subsequent"
other_urls = this_urls
else
other_urls = []
end