X-Git-Url: http://git.osdn.net/view?p=pettanr%2Fpettanr.git;a=blobdiff_plain;f=lib%2Flocmare%2Flist_group%2Flib%2Fpage_status.rb;h=e38efde15840767a1731913d1df2b919aed36037;hp=06e539552ba43dd55be8e5ac009223fddcfb296f;hb=5e2817fe00fdbc16c4cd9e25dae4b7c93c7c4008;hpb=969feec9e20635f29656119375806b226cc47767 diff --git a/lib/locmare/list_group/lib/page_status.rb b/lib/locmare/list_group/lib/page_status.rb index 06e53955..e38efde1 100644 --- a/lib/locmare/list_group/lib/page_status.rb +++ b/lib/locmare/list_group/lib/page_status.rb @@ -14,7 +14,7 @@ module Locmare def to_hash { - :type => :default, :total => @total, + :type => :default, :total => @total, :total_page => self.total_page, :page => self.page, :page_size => self.limit } end @@ -85,7 +85,7 @@ module Locmare def to_hash { - :type => :offset, :total => @total, + :type => :offset, :total => @total, :total_page => self.total_page, :offset => self.offset, :count => self.limit } end