Use upload date by default and no sorting when query string exists

2 jobs for fix-sorting-in-solr-results in 2 minutes and 54 seconds (queued for 2 seconds)