|
|
|
@@ -151,7 +151,7 @@ class Api::V1::Issues::ListService < ApplicationService |
|
|
|
end |
|
|
|
|
|
|
|
if update_begin_date&.present? || update_end_date&.present? |
|
|
|
issues = issues.where('issues.updated_on between ? and ?', update_begin_date&.present? ? update_begin_date.to_time : Time.now.beginning_of_day, update_end_date&.present? ? update_end_date.to_time.end_of_day : Time.now.end_of_day) |
|
|
|
issues = issues.where('issues.updated_on between ? and ?', update_begin_date&.present? ? update_begin_date.to_time.beginning_of_week : Time.now.beginning_of_week, update_end_date&.present? ? update_end_date.to_time.end_of_week : Time.now.end_of_week) |
|
|
|
end |
|
|
|
|
|
|
|
# keyword |
|
|
|
|