Skip to content

Commit

Permalink
Merge branch 'release/0.11.16.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
kalashnikovisme committed Jan 19, 2017
2 parents d88c24b + 949ff73 commit 6bf3604
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/scopes/position_scopes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ module PositionScopes
include StateMachine::Scopes

included do
scope :current_positions, -> { where for_now: 1 }
scope :current_positions, -> { confirmed.where for_now: 1 }
scope :last_held_position, -> { order('end_date DESC').first }
scope :active, -> { where.not state: :removed }
scope :need_to_review, -> { where 'state = \'unviewed\' OR state = \'updated\'' }
Expand Down

0 comments on commit 6bf3604

Please sign in to comment.