I'm making a layout showing several streets with a different symbology for different routes. It's a line feature layer on a sde-server, using a definition query. 'Only show features visible in the map extent' is also active.
In the content pane the colors and values are shown correctly, but the legend in the layout only showes one (blue, Z_REST_D_007_VR).
The problem does not persist when I copy the layer to a geodatabase on my hard drive.
A refresh of the sde-database in the content pane did not help.