code-corps / code-corps/code-corps-ember

Sorting of donation goals by amount doesn't work correctly

未關閉
#790 2 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
bug Priority: High
主要語言
JavaScript
星號
120
分支
75
PR 合併指標
30 天內沒有已合併 PR

描述

# Problem

When the donation goal `hasDirtyAttributes` it gets sorted to the top of the list for some reason. I tried a number of things to fix this but no dice. In particular, I thought the transform would affect it. This seemed to make no difference.

## Subtasks
- [ ] Identify the issue
- [ ] Write a regression test
- [ ] Fix it

貢獻指南

開啟貢獻指南

研究方向

先找出捐贈目標清單以及依金額排序目標的程式碼,然後使用 hasDirtyAttributes 為 true 的目標重現此行為。加入所要求的回歸測試,並確認已變更的目標不再移動到頂端,且依金額排序能正確運作。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
javascript
領域
frontend
Issue 類型
缺陷
難度
3/5
預估耗時
1-2 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。