Revision 61b5da1b
Added by Shimon Shtein over 9 years ago
app/models/operatingsystem.rb | ||
---|---|---|
before_save :set_family
|
||
|
||
audited :allow_mass_assignment => true
|
||
default_scope lambda { order('operatingsystems.name') }
|
||
default_scope lambda { order(:title) }
|
||
|
||
scoped_search :on => :name, :complete_value => :true
|
||
scoped_search :on => :major, :complete_value => :true
|
Also available in: Unified diff
Fixes #9339 - Changed the OS sorting to title
Title uses the full string, not only the name part.