An error occurred fetching the project authors.
  1. 30 May, 2018 1 commit
    • Jan Provaznik's avatar
      Replace .having with .where in calendar query · 7b7b249e
      Jan Provaznik authored
      the current syntax doesn't work properly in Rails 5, the resulting query
      looks like:
      HAVING "events"."project_id" IN (0)
      
      instead of:
      HAVING "events"."project_id" IN (SELECT "projects"."id" FROM...
      
      Also we should not use ActiveRecord internal methods. In this case we
      can filter projects in WHERE clause instead of doing this in HAVING
      clause. Usage of WHERE should be also more efficient because grouping
      is then done on much smaller subset of records.
      7b7b249e
  2. 07 Mar, 2018 1 commit
  3. 05 Mar, 2018 1 commit
  4. 22 Feb, 2018 2 commits
  5. 31 Jul, 2017 2 commits
  6. 29 Jul, 2017 2 commits
  7. 21 Jun, 2017 2 commits
  8. 07 Jun, 2017 1 commit
  9. 23 Feb, 2017 4 commits
  10. 13 Feb, 2017 1 commit
  11. 09 Nov, 2016 1 commit
  12. 16 Sep, 2016 1 commit
  13. 25 Aug, 2016 1 commit
  14. 03 Jun, 2016 2 commits
  15. 16 May, 2016 1 commit
  16. 02 Jan, 2016 1 commit
  17. 03 Oct, 2015 1 commit
  18. 25 Apr, 2015 1 commit
    • Zhang Sen's avatar
      Fix contributions calendar empty problem under mysql · 0cbafa4d
      Zhang Sen authored
      When using MySQL as database backend in GitLab, ``date`` in ``date(created_at), count(id) as total_amount``
      won't return the ``date`` column (should be ``date(created_at)``), as a result, there's no contribution in the user
      profile page.
      Adding an ``as date`` can solve this problem.
      0cbafa4d
  19. 22 Mar, 2015 4 commits