Skip to content

Commit

Permalink
fixed a small bug when selecting a bin on startup , it would not pers…
Browse files Browse the repository at this point in the history
…ist that bin
  • Loading branch information
smeevil committed Jan 10, 2010
1 parent 6b5d3ab commit 676651f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/fresnel.rb
Expand Up @@ -325,6 +325,7 @@ def tickets.age
end
def get_tickets_in_bin(bin)
self.bin=bin.to_i
bins=cache.load(:name=>"fresnel_project_#{self.current_project_id}_bins",:action=>"Lighthouse::Project.find(#{self.current_project_id}).bins")
bins.reject!{|b|true unless b.user_id==self.current_user_id || b.shared}
data=bins[bin.to_i].tickets
Expand Down

0 comments on commit 676651f

Please sign in to comment.