Improve Searching

Fix ordering of searches to be most-recent first
Fix for fixed-game tests not matching due to wrong arguments
Display datestamps for searched tests
Modify base template block to drop the <tr> tags
This commit is contained in:
andrew committed 2023-08-18 13:09:26 -04:00
1 parent a1f8efb55a
commit f76de2bc56
5 files changed
+57 -32

No files matched your search

+1 -1
View File
@@ -382,7 +382,7 @@ def search(request):
filtered.append(test)
error = 'No matching tests found' if not len(filtered) else None
return render(request, 'search.html', { 'tests' : filtered }, error=error)
return render(request, 'search.html', { 'tests' : reversed(filtered) }, error=error)
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# GENERAL DATA TABLE VIEWS #