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

Database template does not calculate Rollup values #11849

Closed
3 tasks done
KrzysztofChrisMaciejczuk opened this issue Jun 27, 2024 · 3 comments
Closed
3 tasks done

Database template does not calculate Rollup values #11849

KrzysztofChrisMaciejczuk opened this issue Jun 27, 2024 · 3 comments

Comments

@KrzysztofChrisMaciejczuk

Is there an existing issue for this?

  • I have searched the existing issues

Can the issue be reproduced with the default theme (daylight/midnight)?

  • I was able to reproduce the issue with the default theme

Could the issue be due to extensions?

  • I've ruled out the possibility that the extension is causing the problem.

Describe the problem

Using a database template with .action{ addf .val1 .col1 }, where val1 columns is a number and col1 is a Rollup column, which points to another table with a numeric column, does not sum the values. Adding more numeric columns within the local table works, but the Rollup column is always ommited.

It worked prior to 3.0.14

Expected result

Numeric Rollup columns should be also summed when using within a template.

Screenshot or screen recording presentation

image

Version environment

- Version: 3.0.17
- Operating System: Ubuntu 24.04 
- Browser (if used): Firefox 127.0.2 64bit
Hosted via web app
- Host OS: Android (version unknown; latest on Samsung Fold 3)

Log file

I will add log file later. Issue created on PC, while log file is on mobile.

More information

I am using web app hosting and connect via LAN to my mobile. Though it does not work on host device as well.

@TCOTC
Copy link
Contributor

TCOTC commented Jun 27, 2024

maybe .action{ addf .val1 (index .col1 0) }

#11029

@KrzysztofChrisMaciejczuk
Copy link
Author

Haha, it works 😅 . I reported because it used to work without the index. For a future reference: where could I find a more complete documentation on the database template language?

@TCOTC
Copy link
Contributor

TCOTC commented Jun 28, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants