Index: app/models/query.rb =================================================================== --- app/models/query.rb (révision 4567) +++ app/models/query.rb (copie de travail) @@ -33,7 +33,7 @@ end def caption - @caption_key.is_a?(Symbol) ? l(@caption_key) : @caption_key + @caption_key.is_a?(Symbol) ? l(@caption_key) : (@caption_key.is_a?(Proc) ? @caption_key.call : @caption_key) end # Returns true if the column is sortable, otherwise false