fix sorting by wp id not displayed in modal

[``* `#15606` sorting by wp id not displayed in modal``](http://www.openproject.org/work_packages/15606)