Project

General

Profile

Actions

Bug #30682

closed

tasks api has wrong subtotal with dashboard filters

Added by Maria Agaphontzev almost 5 years ago. Updated almost 4 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
Foreman plugin
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

When dashboard filters are used the correct tasks are shown but the 'subtotal' field isn't calculated correctly
for example total number of tasks is 50, and scheduled is 5.
https://FOREMAN/foreman_tasks/api/tasks?page=1&search=state%3D+scheduled&include_permissions=true
returns subtotal:5

https://FOREMAN/foreman_tasks/api/tasks?state=scheduled&page=1&include_permissions=true
returns subtotal:50


Related issues 1 (0 open1 closed)

Is duplicate of foreman-tasks - Bug #32132: b'Tasks count displayed incorrectly after filter application'ClosedAdam RuzickaActions
Actions #1

Updated by Adam Ruzicka almost 4 years ago

  • Is duplicate of Bug #32132: b'Tasks count displayed incorrectly after filter application' added
Actions #2

Updated by Adam Ruzicka almost 4 years ago

  • Status changed from New to Duplicate

This was fixed as part of #32132, closing.

Actions

Also available in: Atom PDF