The issue I'm seeing is in what information exists in an Angular "workstation" object - the "ws" in "ws in workstations" does not openly contain any name data for the branches. Moreover, I have concerns that successfully sorting by branch may break the default workstation being first in the dropdown.
Looking at the code, a function has to be called to generate the actual workstation name - the {{get_ws_label(ws)}} line in the template - so I'm leaning towards actually fixing this is a larger project than it appears on the surface.
Dawn confirmed the patch as not working:
The issue I'm seeing is in what information exists in an Angular "workstation" object - the "ws" in "ws in workstations" does not openly contain any name data for the branches. Moreover, I have concerns that successfully sorting by branch may break the default workstation being first in the dropdown.
Looking at the code, a function has to be called to generate the actual workstation name - the {{get_ws_ label(ws) }} line in the template - so I'm leaning towards actually fixing this is a larger project than it appears on the surface.