test/integration/app/app/models/seller.rb in ultrasphinx-1.9 vs test/integration/app/app/models/seller.rb in ultrasphinx-1.11
- old
+ new
@@ -1,14 +1,14 @@
class Seller < ActiveRecord::Base
belongs_to :user
delegate :address, :to => :user
is_indexed :fields => [
- {:field => 'company_name', :facet => true},
+ {:field => :company_name, :facet => true, :sortable => true},
{:field => 'mission_statement', :sortable => true},
'created_at',
- 'capitalization',
- 'user_id'
+ :capitalization,
+ :user_id
],
:delta => true
def name
company_name