From e4f91ef67a97ad0beeb53da73f37737d5b47c6ad Mon Sep 17 00:00:00 2001 From: kidhab <32387157+kidhab@users.noreply.github.com> Date: Sat, 10 Jun 2023 10:47:47 +0200 Subject: [PATCH] Fill availability column at article export closes #884 --- app/lib/articles_csv.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/lib/articles_csv.rb b/app/lib/articles_csv.rb index 55bc7fc5..61f5743f 100644 --- a/app/lib/articles_csv.rb +++ b/app/lib/articles_csv.rb @@ -23,7 +23,7 @@ class ArticlesCsv < RenderCsv def data @object.each do |o| yield [ - '', + o.availability ? I18n.t('simple_form.yes') : I18n.t('simple_form.no'), o.order_number, o.name, o.note,