]> source.dussan.org Git - redmine.git/commit
Optimize `Issue#relations` method to improve performance by fetching both `relations_...
authorGo MAEDA <maeda@farend.jp>
Thu, 28 Dec 2023 00:10:34 +0000 (00:10 +0000)
committerGo MAEDA <maeda@farend.jp>
Thu, 28 Dec 2023 00:10:34 +0000 (00:10 +0000)
commitc13d59720951cb7009b5bf9ef150495f7d197346
tree04a943c2c9503a5c59ace50e0c0de6602f65a918
parenta6a02971b10c0eac9a56af6ffe134017ae5cefa5
Optimize `Issue#relations` method to improve performance by fetching both `relations_from` and `relations_to` using a single database query (#39840).

Patch by Go MAEDA (@maeda).

git-svn-id: https://svn.redmine.org/redmine/trunk@22572 e93f8b46-1217-0410-a6f0-8f06a7374b81
app/models/issue.rb