PR

【確認出来次第】アイテムが出やすい順ソートの並び替えを固定化 #4171

kouho opened this at 2025-07-14T14:52:31; closed

Description

opened by kouho at 2025-07-14T14:52:31; updated 2025-07-14T16:52:55

概要

建物リストのアイテムが出やすい順ソートが固定化されていないため、
リリース順ソートも追加して固定する

建築可能な建物が開放されるたびに並び替えがぐちゃぐちゃになる問題の対応

確認方法
master_object.need_businessを見てuser_info.businessの値を操作。
アイテムが出やすい順でソート
建物の並び順が固定されていればOK。

原因

phpのsortで同値のソートが不安定なことが原因

Comment

#41481 by kouho at 2025-07-14T14:53:38; updated 2025-07-14T14:53:38

@wada
レビューお願いいたします

Comment

#41484 by wada at 2025-07-14T16:37:36; updated 2025-07-14T16:37:36

@kouho
確認OKです。

wada add_label at 2025-07-14T16:37:39: 和田 LGTM
kouho merge at 2025-07-14T16:52:55: 【確認出来次第】アイテムが出やすい順ソートの並び替えを固定化
kouho close at 2025-07-14T16:52:55: Close

Commit range

basef709606a4594cacf95d07b27073631b4eae5fdd5
head4890710c74d900a28962d47e9181a59822f6b6f1
base branchjolly/jr-web:master
head branchjolly/jr-web:fix_build_list

View commits

Commit details are loaded from Git when a dynamic archive server is running, or can be embedded with --include-commits.
Files changed1 filesView patch
statusfile
modifiedlib/ajax/build_selectList.inc
Patch body is stored as a separate file to keep this page lightweight.