Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Ordinary search and advanced search results use different templates #108
For example when searching Test Runs there are 2 different templates used to display the results.
An ordinary search POSTs to an ajax view which returns JSON including HTML string via
We should unify those because that makes adjusting the result columns or pagination easier.
On a related note we have to evaluate exactly how much more flexible Advanced search is compared to the other search views! I have the feeling that there isn't much of a difference and the Advanced search code seems to me unnecessarily complicated.
On this note there should probably be a single search class implementing the common search interface and then inherited versions adding specifics for Test Plans, Test Cases and Test Runs!
The templates themselves should be migrated to Patterfly once we have one or two of them left.
Related views returning JSON should return pure data, not strings containing HTML.
This is also related to #104