diff --git a/Childrens-Social-Care-CPD/Views/SearchResources/SearchResources.cshtml b/Childrens-Social-Care-CPD/Views/SearchResources/SearchResources.cshtml
index eada999a..facfbb0c 100644
--- a/Childrens-Social-Care-CPD/Views/SearchResources/SearchResources.cshtml
+++ b/Childrens-Social-Care-CPD/Views/SearchResources/SearchResources.cshtml
@@ -66,5 +66,5 @@
@section Scripts {
-
+
}
\ No newline at end of file
diff --git a/Childrens-Social-Care-CPD/wwwroot/javascript/search.js b/Childrens-Social-Care-CPD/wwwroot/javascript/search.js
new file mode 100644
index 00000000..04a01a0b
--- /dev/null
+++ b/Childrens-Social-Care-CPD/wwwroot/javascript/search.js
@@ -0,0 +1,9 @@
+document.addEventListener("DOMContentLoaded", function () {
+ const input = document.getElementById('searchTermInput')
+ input.addEventListener("keydown", (e) => {
+ if (e.key === "Enter") {
+ document.getElementById('sortOrder').value = 2
+ return false
+ }
+ })
+})
\ No newline at end of file