Groups
Groups
Sign in
Groups
Groups
Redmine Users (japanese)
Conversations
About
Send feedback
Help
チケット一覧表示の500番目のチケットで次へが消える
92 views
Skip to first unread message
JS
unread,
Oct 26, 2023, 5:44:22 AM
10/26/23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Redmine Users (japanese)
お世話になります。
チケット一覧表示でチケットを開くと右上に次へのリンクがありますが
一覧表示の500番目以降の、チケットになると次へのリンクが消えてしまいます。
回避策はありますでしょうか?
Redmineチケット.png
前田剛
unread,
Oct 26, 2023, 6:34:57 AM
10/26/23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to redmine-...@googlegroups.com
前田といいます。
On Thu, Oct 26, 2023 at 6:44 PM JS <
mbby...@gmail.com
> wrote:
> チケット一覧表示でチケットを開くと右上に次へのリンクがありますが
> 一覧表示の500番目以降の、チケットになると次へのリンクが消えてしまいます。
> 回避策はありますでしょうか?
まず、チケットの「前」「次」リンクが500件までのチケットしか扱えないのは意図された挙動です。
パフォーマンスの観点から、「前」「次」リンクが扱えるチケット数の上限は500件に制限されています。
この制限は app/controllers/issues_controller.rb の
retrieve_previous_and_next_issue_ids メソッド内で行われています。
参考:
https://www.redmine.org/projects/redmine/repository/svn/entry/tags/5.0.6/app/controllers/issues_controller.rb#L510
どうしても上限値を引き上げたい場合はご自身のリスクでソースコードを書き換えれば実現可能です。
app/controllers/issues_controller.rb の
retrieve_previous_and_next_issue_ids メソッド内の2ヶ所の 500
という値を引き上げると500件以上のチケットを扱えるようになると思います。
--
// 前田 剛 <
ma...@farend.jp
>
JS
unread,
Oct 27, 2023, 4:04:15 AM
10/27/23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Redmine Users (japanese)
ご回答ありがとうございました。
無事に 前 次 リンクが表示できるようになりました。
有難うございます。
2023年10月26日木曜日 19:34:57 UTC+9 前田剛:
Reply all
Reply to author
Forward
0 new messages