Commit 540c6070205509fe92f33ddc1f94640efcdef7ae
1 parent
d98185b3
Exists in
master
and in
29 other branches
Show 12 organizations per page
(ActionItem2866)
Showing
1 changed file
with
3 additions
and
3 deletions
Show diff stats
plugins/sub_organizations/controllers/sub_organizations_plugin_profile_controller.rb
... | ... | @@ -28,13 +28,13 @@ class SubOrganizationsPluginProfileController < ProfileController |
28 | 28 | @full = false |
29 | 29 | elsif !params[:type] |
30 | 30 | @total = _profile |
31 | - @total = @total.paginate(:per_page => 2, :page => params[:npage]) | |
31 | + @total = @total.paginate(:per_page => 12, :page => params[:npage]) | |
32 | 32 | if params[:display] == 'compact' |
33 | 33 | @full = false |
34 | 34 | end |
35 | 35 | else |
36 | - @communities = @communities.paginate(:per_page => 2, :page => params[:npage]) | |
37 | - @enterprises = @enterprises.paginate(:per_page => 2, :page => params[:npage]) | |
36 | + @communities = @communities.paginate(:per_page => 12, :page => params[:npage]) | |
37 | + @enterprises = @enterprises.paginate(:per_page => 12, :page => params[:npage]) | |
38 | 38 | end |
39 | 39 | end |
40 | 40 | ... | ... |