Revision 1363:855b4ae5ecdd plugins
| plugins/redmine_bibliography/app/models/authorship.rb | ||
|---|---|---|
| 12 | 12 |
attr_accessor :search_author_class, :search_author_id, :search_name, :search_results, :identify_author |
| 13 | 13 |
before_save :associate_author_user |
| 14 | 14 |
|
| 15 |
acts_as_list |
|
| 15 |
# tod: review scope of ordering |
|
| 16 |
acts_as_list :column => 'auth_order' |
|
| 16 | 17 |
|
| 17 | 18 |
# todo: review usage of scope --lf.20130108 |
| 18 | 19 |
scope :like_unique, lambda {|q|
|
Also available in: Unified diff