Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Next" relative filter tokens should read "from now" instead of "ago" #22228

Closed
mazameli opened this issue Apr 28, 2022 · 0 comments · Fixed by #22321
Closed

"Next" relative filter tokens should read "from now" instead of "ago" #22228

mazameli opened this issue Apr 28, 2022 · 0 comments · Fixed by #22321
Assignees
Labels
.Correctness .Frontend Priority:P2 Average run of the mill bug Querying/GUI Query builder catch-all, including simple mode Querying/Parameters & Variables Filter widgets, field filters, variables etc. Type:Bug Product defects
Milestone

Comments

@mazameli
Copy link
Contributor

To repro:

  • Open up Orders, click on the Created At field, filter on this column, then relative dates
  • Select the Next tab, then click the ellipses and select the starting-from action
  • Add the filter
  • Notice that it reads something like "Created at Next 30 days, starting from 7 days ago" — it should actually read "Created at Next 30 days, starting from 7 days from now"

image

@mazameli mazameli added Type:Bug Product defects Querying/GUI Query builder catch-all, including simple mode .Needs Triage .bugbash labels Apr 28, 2022
@flamber flamber added Priority:P2 Average run of the mill bug .Correctness Querying/Parameters & Variables Filter widgets, field filters, variables etc. .Frontend and removed .Needs Triage labels May 1, 2022
@rlotun rlotun added this to the 0.43 milestone May 2, 2022
akiselev pushed a commit that referenced this issue May 2, 2022
**Changing the granularity of the `Past`/`Next` range picker now changes the granularity of the `Starting from` option**
  - Fixes #22222
  - Reproduces #22222 

---

**`Include this quarter` now displays correctly**
  - Fixes #22224 

---

**Now shows the correct date preview in `Past`/`Next` range picker**
  - Fixes #22225 
  - Reproduces #22225 

---

**Can now change `Past`/`Next` granularity when the value is set to `1`**
  - Fixes #22227
  - Reproduces #22227

---

**`Next` relative filter pill text now reads `from now` instead of `ago`**
  - Fixes #22228
  - Reproduces #22228
github-actions bot pushed a commit that referenced this issue May 2, 2022
**Changing the granularity of the `Past`/`Next` range picker now changes the granularity of the `Starting from` option**
  - Fixes #22222
  - Reproduces #22222 

---

**`Include this quarter` now displays correctly**
  - Fixes #22224 

---

**Now shows the correct date preview in `Past`/`Next` range picker**
  - Fixes #22225 
  - Reproduces #22225 

---

**Can now change `Past`/`Next` granularity when the value is set to `1`**
  - Fixes #22227
  - Reproduces #22227

---

**`Next` relative filter pill text now reads `from now` instead of `ago`**
  - Fixes #22228
  - Reproduces #22228
akiselev pushed a commit that referenced this issue May 2, 2022
**Changing the granularity of the `Past`/`Next` range picker now changes the granularity of the `Starting from` option**
  - Fixes #22222
  - Reproduces #22222 

---

**`Include this quarter` now displays correctly**
  - Fixes #22224 

---

**Now shows the correct date preview in `Past`/`Next` range picker**
  - Fixes #22225 
  - Reproduces #22225 

---

**Can now change `Past`/`Next` granularity when the value is set to `1`**
  - Fixes #22227
  - Reproduces #22227

---

**`Next` relative filter pill text now reads `from now` instead of `ago`**
  - Fixes #22228
  - Reproduces #22228

Co-authored-by: Alexander Kiselev <alexander.kiselev@metabase.com>
This was referenced Feb 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
.Correctness .Frontend Priority:P2 Average run of the mill bug Querying/GUI Query builder catch-all, including simple mode Querying/Parameters & Variables Filter widgets, field filters, variables etc. Type:Bug Product defects
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants