bug 977:Changed layout if no result found