glpi-project / glpi-inventory-plugin

GLPI Inventory plugin
GNU Affero General Public License v3.0
43 stars 24 forks source link

Fix management of the “include old jobs” parameter #517

Closed RomainLvr closed 3 weeks ago

RomainLvr commented 3 weeks ago

The inculde old jobs parameter only modified the number of rows generated in the csv, not the number of jobs included. Here's a screenshot of an export with include old jobs set to 2:

image

image

By increasing this value, additional lines are added :

image

The solution was to move the counter that stops the addition of rows in the CSV, so that it applies to jobs and not rows.