lib/doing/plugins/export/html_export.rb in doing-2.1.26 vs lib/doing/plugins/export/html_export.rb in doing-2.1.27
- old
+ new
@@ -68,10 +68,10 @@
IO.read(File.expand_path(wwid.config['export_templates']['css']))
else
self.template('css')
end
- totals = opt[:totals] ? wwid.tag_times(format: :html, sort_by_name: opt[:sort_tags], sort_order: opt[:tag_order]) : ''
+ totals = opt[:totals] ? wwid.tag_times(format: :html, sort_by: opt[:sort_tags], sort_order: opt[:tag_order]) : ''
engine = Haml::Engine.new(template)
Doing.logger.debug('HTML Export:', "#{items_out.count} items output to HTML")
@out = engine.render(Object.new,
{ :@items => items_out, :@page_title => variables[:page_title], :@style => style, :@totals => totals })
end