diff --git a/templates/gracedb/event_list.html b/templates/gracedb/event_list.html
index ce889a1be81569d280f907ea3856068e63283160..f40574488a25eb956b197464670c7f0c3a002272 100644
--- a/templates/gracedb/event_list.html
+++ b/templates/gracedb/event_list.html
@@ -45,7 +45,7 @@
             (
             {
             sortable: true,
-            url: 'https://archie.phys.uwm.edu/gracedb/events/search/flex?query={{rawquery}}',
+            url: '{% url search %}/flex?query={{rawquery}}',
             datatype: 'json',
             mtype: "GET",
             colNames : ["UID", "Labels", "Group", "Type", "Event Time", "Links", "Submitted",