Adding country column for printing the personalized dive log

30 views
Skip to first unread message

Jean Frechina

unread,
Aug 6, 2026, 9:38:49 AM (3 days ago) Aug 6
to Subsurface Divelog
Hello and thank you for this forum!

I would like to print my custom dive list by editing a template including country dive site.

I've seen the list of columns that can be printed and how to do it in the Subsurface help. The possible print columns are like "<th>{{ dive.something }}</th>".

I've successfully added columns, except for the country column, which depends on the "sitedive" and not the "dive". For example, <th>{{ dive.tags }}</td> or <th>{{ dive.location }}</th>.

But it's not possible to add <th>{{ site.country }}</th> (or something similar).

There are many dive sites called "coral gardens"; I would need to differentiate them by adding a country column. Is this possible?
Thanks for reading me.

Robert C. Helling

unread,
Aug 6, 2026, 10:38:38 AM (3 days ago) Aug 6
to Subsurface Divelog
You are correct that is missing. I just submitted a pull request that adds dive.country. Have a look at https://github.com/subsurface/subusrface/pull/4891 Once it has compiled you should be able to download a test version.

Best
Robert

Jean Frechina

unread,
Aug 6, 2026, 3:33:49 PM (3 days ago) Aug 6
to Subsurface Divelog

WOW, that’s great news.

I forgot to mention that I was using Subsurface version 6.0.5656-CICD, but I’ll take the version that meets my requirements to test it and provide feedback.

Wow, a big thank you to you, Robert

Robert C. Helling

unread,
Aug 7, 2026, 6:55:47 AM (2 days ago) Aug 7
to Subsurface Divelog
Can you confirm that the version https://github.com/subsurface/subsurface/pull/4891 works as intended?

Best
Robert

Jean Frechina

unread,
Aug 7, 2026, 8:57:52 AM (2 days ago) Aug 7
to Subsurface Divelog
It works on win10!!
Thanks to all and Robert for adding country column print
Jean
Reply all
Reply to author
Forward
0 new messages