Fill availability column at article export

closes #884
This commit is contained in:
kidhab 2023-06-10 10:47:47 +02:00 committed by GitHub
parent c50ba6eda5
commit e4f91ef67a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -23,7 +23,7 @@ class ArticlesCsv < RenderCsv
def data def data
@object.each do |o| @object.each do |o|
yield [ yield [
'', o.availability ? I18n.t('simple_form.yes') : I18n.t('simple_form.no'),
o.order_number, o.order_number,
o.name, o.name,
o.note, o.note,