\listoftables. Both commands create line breaks for items from different chapters. How can you stop that?
According to table 3.20 in the KOMA-Script manual the following snippet added to the preamble will solve the issue
alternatively you can pass this option directly to the koma-documentclass
It's explained in section 3.16 of the manual of KoMa-Script: