moved logic away from template file + added ability to turn Solr result fields into links
coder
solve merge conflict
Merge pull request #114 from DannyJoris/7.x

7.x
removed duplicated code
added ability to change default sort field
Merge commit 'ceb52823dab09a9e07ea9d514f749de4f0155280' into 7.x

Conflicts:
	includes/query_processor.inc