Added search related changes, compatible to release of phpwcms >= 2014/06/02