Fix/global version filter

https://www.openproject.org/work_packages/9045
Line is too long. [122/99]<br>Use the new Ruby 1.9 hash syntax.<br>Space inside parentheses detected.<br>Prefer single-quoted strings when you don't need string interpolation or special symbols.