o.c.trends.databrowser: Fix archive search panel

#262 : "Should this go on 3.2.x?"
I don't care, but if you do, then this pull would do it.

It's based on cherry-picking that one commit and fixing merge conflict.