lib/saber/task/find_uploads.rb in saber-1.2.3 vs lib/saber/task/find_uploads.rb in saber-1.2.4
- old
+ new
@@ -40,10 +40,10 @@
end
private
def convert_bibtags(tags)
- tags.map{|v|
+ tags.map {|v|
v.gsub(/ \(programming\)/i, '')
}.sort_by {|v|
%w[fiction nonfiction].include?(v) ? -1 : tags.index(v)
}
end