Merge branch 'fix-500-admin-projects' into 'master'
Fix 500 error when filtering projects in admin interface Fixes #1693 See merge request !1200
This commit is contained in:
commit
3f4cfd362d
1 changed files with 1 additions and 1 deletions
|
@ -173,7 +173,7 @@ class Project < ActiveRecord::Base
|
||||||
end
|
end
|
||||||
|
|
||||||
def with_push
|
def with_push
|
||||||
includes(:events).where('events.action = ?', Event::PUSHED)
|
joins(:events).where('events.action = ?', Event::PUSHED)
|
||||||
end
|
end
|
||||||
|
|
||||||
def active
|
def active
|
||||||
|
|
Loading…
Reference in a new issue