Merge branch 'develop' into standalone_develop

This commit is contained in:
yystopf 2022-01-25 11:39:15 +08:00
commit 465f38bca7
1 changed files with 2 additions and 2 deletions

View File

@ -29,9 +29,9 @@ class IssuesController < ApplicationController
@close_issues = @all_issues.where(status_id: IssueStatus::CLOSED)
scopes = Issues::ListQueryService.call(issues,params.delete_if{|k,v| v.blank?}, "Issue")
@issues_size = scopes.size
@assign_to_me = scopes.where(assigned_to_id: current_user&.id)
@my_published = scopes.where(author_id: current_user&.id)
@issues = paginate(scopes)
@assign_to_me = @issues.where(assigned_to_id: current_user&.id)
@my_published = @issues.where(author_id: current_user&.id)
respond_to do |format|
format.json