Skip to content

Fix 500 on searching on empty project, restyle search page

Created by: Razer6

What does this MR do?

This PR fixes searching on empty projects and adds a testcase therefore. For this reason, an empty search result displays a notification message as shown below. Since this is needed for the testcase, I also do restyling of the page here.

Why was this MR needed?

Currently searching on an empty project raises a 500 error.

What are the relevant issue numbers / Feature requests?

This PR fixes

TODO

  • Better styling if there is no search result
  • Extend notice message if there is no search result to issues

Screenshots

Before

screenshot 2014-07-31 00 09 46

After

screenshot 2014-07-31 00 05 56 screenshot 2014-07-31 00 06 44

Merge request reports

Loading