Explorar o código

Fix broken search function

Jaap Marcus %!s(int64=4) %!d(string=hai) anos
pai
achega
0ccd3c5e16
Modificáronse 2 ficheiros con 5 adicións e 2 borrados
  1. 2 0
      CHANGELOG.md
  2. 3 2
      web/js/app.js

+ 2 - 0
CHANGELOG.md

@@ -14,6 +14,8 @@ All notable changes to this project will be documented in this file.
 ### Bugfixes
 
 - Fix bug with nginx and phmyadmin not loading
+- Fix #2166 Search function broken 
+- Update Quick installers to the last version
 
 ## [1.4.16] - Service release 
 

+ 3 - 2
web/js/app.js

@@ -1055,9 +1055,10 @@ function checkedAll(frmname) {
 }
 
 function doSearch(url) {
+    console.log(url);
+    return false;
     var url = url || '/search/';
-    var loc = url + '?q=' + $('.search-input').val();
-
+    var loc = url + '?q=' + $('.search-input').val().'&token='. $('input[name="token"]').val();
     location.href = loc;
     return false;
 }