Sha256: b7c86c39cb475d80d0f50a0799988ba86785c4ff1adb244e1566280a6e2ff984

Contents?: true

Size: 709 Bytes

Versions: 96

Compression:

Stored size: 709 Bytes

Contents

module ActiveScaffold::Actions
  module PrintBase
    include ActiveScaffold::Search
    protected
    
    def do_print_list(print_list_config)
      active_scaffold_config.list.empty_field_text = print_list_config.empty_field_text
      includes_for_print_list_columns = active_scaffold_tools_list_columns.collect{ |c| c.includes }.flatten.uniq.compact
      self.active_scaffold_joins.concat includes_for_print_list_columns

      options = {:sorting => active_scaffold_config.list.user.sorting,
        :per_page => print_list_config.maximum_rows}

      do_search
      
      do_print_list_find(options)
    end

    def do_print_list_find(options)
      @records = find_page(options);
    end
  end
end

Version data entries

96 entries across 96 versions & 1 rubygems

Version Path
six-updater-web-0.14.1 lib/six-updater-web/vendor/plugins/active_scaffold/lib/active_scaffold/actions/print_base.rb
six-updater-web-0.13.6 lib/six-updater-web/vendor/plugins/active_scaffold/lib/active_scaffold/actions/print_base.rb
six-updater-web-0.13.5 lib/vendor/plugins/active_scaffold/lib/active_scaffold/actions/print_base.rb
six-updater-web-0.13.4 lib/vendor/plugins/active_scaffold/lib/active_scaffold/actions/print_base.rb
six-updater-web-0.13.3 lib/vendor/plugins/active_scaffold/lib/active_scaffold/actions/print_base.rb
six-updater-web-0.13.2 lib/vendor/plugins/active_scaffold/lib/active_scaffold/actions/print_base.rb
six-updater-web-0.13.1 lib/vendor/plugins/active_scaffold/lib/active_scaffold/actions/print_base.rb
six-updater-web-0.12.7 lib/vendor/plugins/active_scaffold/lib/active_scaffold/actions/print_base.rb
six-updater-web-0.12.6 lib/vendor/plugins/active_scaffold/lib/active_scaffold/actions/print_base.rb
six-updater-web-0.12.5 lib/vendor/plugins/active_scaffold/lib/active_scaffold/actions/print_base.rb
six-updater-web-0.12.4 lib/vendor/plugins/active_scaffold/lib/active_scaffold/actions/print_base.rb
six-updater-web-0.12.3 lib/vendor/plugins/active_scaffold/lib/active_scaffold/actions/print_base.rb
six-updater-web-0.12.2 lib/vendor/plugins/active_scaffold/lib/active_scaffold/actions/print_base.rb
six-updater-web-0.12.1 lib/vendor/plugins/active_scaffold/lib/active_scaffold/actions/print_base.rb
six-updater-web-0.11.2 lib/vendor/plugins/active_scaffold/lib/active_scaffold/actions/print_base.rb
six-updater-web-0.11.1 lib/vendor/plugins/active_scaffold/lib/active_scaffold/actions/print_base.rb