Describe the bug
When exporting csv from the Reports -> Routing menu, the order of the columns in the csv file will change based on month/year selected. For example, selecting June 2024, the column headers are in this order:
timestamp
chan_id_in
chan_id_out
amt_in
amt_out
fee
fee_msat
amt_in_msat
amt_out_msat
timestamp_ns
peer_alias_in
peer_alias_out
alias_in
alias_out
When selecting a more recent month, like November 2025, the columns order change to:
timestamp
chan_id_in
chan_id_out
amt_in
amt_out
fee
fee_msat
amt_in_msat
amt_out_msat
timestamp_ns
peer_alias_in
peer_alias_out
incoming_htlc_id
outgoing_htlc_id
alias_out
alias_in
It seems that when the incoming_htlc_id and outgoing_htlc_id columns were added, the alias_in and alias_out columns were switched.
To Reproduce
Steps to reproduce the behavior:
- Go to Reports
- Click on Routes (select a month from different years)
- Scroll down to Export CSV
- See differences
Screenshots
If applicable, add screenshots to help explain your problem.
Your environment
- Version of
RTL: 0.15.6 beta
- Version of
lnd/core lightning/eclair: LND 0.20.0-beta
- Version of
btcd, bitcoind, or other backend
- Browser & browser version: Chrome
- Operating system (
uname -a on *Nix): UmbrelOS
- any other relevant environment details
Additional context
Add any other context about the problem here.
Describe the bug
When exporting csv from the Reports -> Routing menu, the order of the columns in the csv file will change based on month/year selected. For example, selecting June 2024, the column headers are in this order:
timestamp
chan_id_in
chan_id_out
amt_in
amt_out
fee
fee_msat
amt_in_msat
amt_out_msat
timestamp_ns
peer_alias_in
peer_alias_out
alias_in
alias_out
When selecting a more recent month, like November 2025, the columns order change to:
timestamp
chan_id_in
chan_id_out
amt_in
amt_out
fee
fee_msat
amt_in_msat
amt_out_msat
timestamp_ns
peer_alias_in
peer_alias_out
incoming_htlc_id
outgoing_htlc_id
alias_out
alias_in
It seems that when the incoming_htlc_id and outgoing_htlc_id columns were added, the alias_in and alias_out columns were switched.
To Reproduce
Steps to reproduce the behavior:
Screenshots
If applicable, add screenshots to help explain your problem.
Your environment
RTL: 0.15.6 betalnd/core lightning/eclair: LND 0.20.0-betabtcd,bitcoind, or other backenduname -aon *Nix): UmbrelOSAdditional context
Add any other context about the problem here.