Fix labels showing if issue closed on search results page

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Merge branch 'closed-in-search' into 'master'

Fixed labels for closed issues/mr in search results

See merge request !941