diff options
author | francis <francis> | 2008-07-15 17:24:25 +0000 |
---|---|---|
committer | francis <francis> | 2008-07-15 17:24:25 +0000 |
commit | 593b9fa15f00a12a53c97e349aed9bc437a1b51b (patch) | |
tree | d7afc9563677c0ffd8c40c2b3089917944d075b7 /app/models/info_request.rb | |
parent | 1e458c2ce9c8f6c85de5828e73c84337dad8b855 (diff) |
Whoops, undo white space change that accidentally committed after making slide show for talk.
Diffstat (limited to 'app/models/info_request.rb')
-rw-r--r-- | app/models/info_request.rb | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/app/models/info_request.rb b/app/models/info_request.rb index 829c31078..400b3a11e 100644 --- a/app/models/info_request.rb +++ b/app/models/info_request.rb @@ -22,7 +22,7 @@ # Copyright (c) 2007 UK Citizens Online Democracy. All rights reserved. # Email: francis@mysociety.org; WWW: http://www.mysociety.org/ # -# $Id: info_request.rb,v 1.119 2008-07-15 08:29:34 francis Exp $ +# $Id: info_request.rb,v 1.120 2008-07-15 17:24:25 francis Exp $ require 'digest/sha1' require File.join(File.dirname(__FILE__),'../../vendor/plugins/acts_as_xapian/lib/acts_as_xapian') @@ -78,12 +78,8 @@ class InfoRequest < ActiveRecord::Base # (Not really the right place to put it, but everything can get it here, and it # does *mainly* find info requests, via their events, so hey) def InfoRequest.full_search(models, query, order, ascending, collapse, per_page, page) - - offset = (page - 1) * per_page - - return ::ActsAsXapian::Search.new( models, query, :offset => offset, :limit => per_page, @@ -91,9 +87,6 @@ class InfoRequest < ActiveRecord::Base :sort_by_ascending => ascending, :collapse_by_prefix => collapse ) - - - end # For debugging |