[PR #1312] [MERGED] Goals: Fix calculated fill when using multiple 'up to' statements in different priority levels #10718

Closed
opened 2026-04-10 20:41:01 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/actualbudget/actual/pull/1312
Author: @shall0pass
Created: 7/8/2023
Status: Merged
Merged: 7/17/2023
Merged by: @j-f1

Base: masterHead: upto_multi_priority


📝 Commits (2)

📊 Changes

2 files changed (+7 additions, -1 deletions)

View changed files

📝 packages/loot-core/src/server/budget/goaltemplates.ts (+1 -1)
upcoming-release-notes/1312.md (+6 -0)

📄 Description

Using the 'up to' keywords can have unexpected results when there are two statements in the same category with different priority levels.

The current fill can be different than what is expected.
upto_multi_priority_current

This PR would change this behavior to the following.
upto_multi_priority_fix


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/actualbudget/actual/pull/1312 **Author:** [@shall0pass](https://github.com/shall0pass) **Created:** 7/8/2023 **Status:** ✅ Merged **Merged:** 7/17/2023 **Merged by:** [@j-f1](https://github.com/j-f1) **Base:** `master` ← **Head:** `upto_multi_priority` --- ### 📝 Commits (2) - [`0b29cb2`](https://github.com/actualbudget/actual/commit/0b29cb264d6e7011127d48eec24916de87d1de47) change conditional check - [`c0e972c`](https://github.com/actualbudget/actual/commit/c0e972c1c44d2ad0766be8593d9590c6d09cf8b7) release note ### 📊 Changes **2 files changed** (+7 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `packages/loot-core/src/server/budget/goaltemplates.ts` (+1 -1) ➕ `upcoming-release-notes/1312.md` (+6 -0) </details> ### 📄 Description Using the 'up to' keywords can have unexpected results when there are two statements in the same category with different priority levels. The current fill can be different than what is expected. ![upto_multi_priority_current](https://github.com/actualbudget/actual/assets/20625555/5345c4d8-ae91-4f21-9982-f431506cd3d4) This PR would change this behavior to the following. ![upto_multi_priority_fix](https://github.com/actualbudget/actual/assets/20625555/f3ef894c-1f4e-491b-a442-f4ec34f3a90f) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-10 20:41:01 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#10718