lib/sinatra/pagers.rb
# Get an Dataset of CanonicalDocuments and returns a new one, with all pager settings applied
# Including using 'dataset' to select using title or author
# 'order'
Get an Dataset of CanonicalDocuments and returns a new one, with all pager settings applied
Including using 'dataset' to select using title or author
'order'
Get an Dataset of CanonicalDocuments and returns a new one with all pager settings applied Including using ' dataset ' to select using title or author ' order '
def adapt_cds(cds_pre)
        pcqa=PagerCdQueryAdapter.new(self, cds_pre)
        @max_page=(pcqa.cds_out.count/self.cpp.to_f).ceil
        adjust_page_order(pcqa.cds_out)
      end
def adapt_cds ( cds_pre ) pcqa = PagerCdQueryAdapter . new ( self , cds_pre ) @max_page = ( pcqa . cds_out . count / self . cpp . to_f ) . ceil adjust_page_order ( pcqa . cds_out ) end
Get an Dataset of CanonicalDocuments and returns a new one, with all pager settings applied
Including using 'dataset' to select using title or author
'order'
Get an Dataset of CanonicalDocuments and returns a new one with all pager settings applied Including using ' dataset ' to select using title or author ' order '
cds_pre