Skip to content
Commit 26e5b5a0 authored by Damien Mat Jedrzejewski's avatar Damien Mat Jedrzejewski Committed by hydrargyrum
Browse files

[cmso] Fix: fetch missing transactions at the start of a month

For now, transactions were fetch on a month by month basis.
Each month would display transactions with at least one type of id
among 2 possible, and those are collected.
Finally, a global history page is parsed, without month param.
A special condition would avoid duplicates based on the ids.

But at the turn of the month there are transactions that
don't have any id, and so would not be selected.

Solution:
First page fetched is the 'SIX_DERNIERES_SEMAINES'. All transactions from
current month are selected here (they don't bear any id).
Then the month by month selection is done.
No final page without month param is fetched at the end since we
already got all transactions.

Tested also on CMB and BPE child modules.
parent bdf4dc8a
Pipeline #278637802 passed with warnings with stages
in 16 minutes and 52 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment