I had the same issue in new 2305 version. After debugging with vs code I saw that queryoptions for priorities contain PM2 ordertype. As I have the PM01 workorder type and all settings in configpanel are made for PM01 in my demo that`s why I see empty...