Loading...
 
Skip to main content

Tracker, plugin Trackerfilter; Compute function (sum or avg) calculation are broken

Status
Closed
Subject
Tracker, plugin Trackerfilter; Compute function (sum or avg) calculation are broken
Version
18.x
23.x
Category
  • Error
  • Regression
  • Developer Training
  • Easy for Newbie Dev
Feature
Trackers
Wiki Plugin (extends basic syntax)
Resolution status
Fixed or Solved
Submitted by
Bernard Sfez / Tiki Specialist
Keep informed
Adrien
Lastmod by
Bernard Sfez / Tiki Specialist
Rating
(0)
Description

As show on the instance, compute display always a result of "1" and doesn't perform a sum calculation as expected.

Average calculation is working fine so it should be a very hard task.
Something was broken.

Would be great as an "extra" to have the total aligned as the column value (if a col is part of a calculation align it values right).


Update 31/01/2022. I updated the instance and check back the case and I confirm the issue.

More details, I'm not using table sorter but the sum parameter from the tracker plugin.
There is no doc available at https://doc.tiki.org/PluginTrackerFilter so my setup relies on the inline documentation in the plugin.

Image

Using this I setup 2 trackerfilter to test "sum" and "avg" and both failed.

Solution
The calculation should be correct or the documentation corrected.
Importance
5
Easy to solve?
7
Priority
35
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
7912
Created
Tuesday 02 November, 2021 08:21:37 UTC
by Bernard Sfez / Tiki Specialist
LastModif
Sunday 31 July, 2022 14:17:16 UTC


Show PHP error messages