fix sorting by wp id not displayed in modal

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