From fd70adead5dd053020ffcf5456a583ebe0e9bee3 Mon Sep 17 00:00:00 2001 From: Ryan Bigg Date: Wed, 16 Nov 2011 09:54:39 +1300 Subject: [PATCH] Set default products_per_page to 12. Fixes #765. Makes default theme for Spree look better --- core/app/models/spree/app_configuration.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/app/models/spree/app_configuration.rb b/core/app/models/spree/app_configuration.rb index 1200ad6cc32..b6fc55d86d0 100644 --- a/core/app/models/spree/app_configuration.rb +++ b/core/app/models/spree/app_configuration.rb @@ -19,7 +19,7 @@ class AppConfiguration < Spree::Configuration preference :show_only_complete_orders_by_default, :boolean, :default => true preference :admin_products_per_page, :integer, :default => 10 preference :admin_pgroup_preview_size, :integer, :default => 10 - preference :products_per_page, :integer, :default => 10 + preference :products_per_page, :integer, :default => 12 preference :logo, :string, :default => 'admin/bg/spree_50.png' preference :stylesheets, :string, :default => 'reset, screen' # Comma separate multiple stylesheets, e.g. 'screen,mystyle' preference :admin_interface_logo, :string, :default => 'admin/bg/spree_50.png'