aboutsummaryrefslogtreecommitdiffstats
path: root/app/models/info_request.rb
diff options
context:
space:
mode:
authorfrancis <francis>2008-04-30 01:42:39 +0000
committerfrancis <francis>2008-04-30 01:42:39 +0000
commit79913edf71def2192f9ba87bb2e77129526afe34 (patch)
tree9d58957041fbcae32c2396edaca392573e4d1495 /app/models/info_request.rb
parentf8936a793e0cf588fd45b548397f6de11acb7f50 (diff)
Remove unsued html_highlight param
Diffstat (limited to 'app/models/info_request.rb')
-rw-r--r--app/models/info_request.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/app/models/info_request.rb b/app/models/info_request.rb
index 2e614e4bd..eec8091e3 100644
--- a/app/models/info_request.rb
+++ b/app/models/info_request.rb
@@ -21,7 +21,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.101 2008-04-30 01:19:53 francis Exp $
+# $Id: info_request.rb,v 1.102 2008-04-30 01:42:39 francis Exp $
require 'digest/sha1'
require File.join(File.dirname(__FILE__),'../../vendor/plugins/acts_as_xapian/lib/acts_as_xapian')
@@ -68,8 +68,6 @@ 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(query, order, ascending, collapse, per_page, page)
- # XXX handle order better
- # XXX html_highlight
offset = (page - 1) * per_page
return ::ActsAsXapian::Search.new(
[InfoRequestEvent, PublicBody, User], query,