Skip to content

Commit 0ccd3c5

Browse files
committed
Fix broken search function
1 parent 01f69ac commit 0ccd3c5

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ All notable changes to this project will be documented in this file.
1414
### Bugfixes
1515

1616
- Fix bug with nginx and phmyadmin not loading
17+
- Fix #2166 Search function broken
18+
- Update Quick installers to the last version
1719

1820
## [1.4.16] - Service release
1921

web/js/app.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1055,9 +1055,10 @@ function checkedAll(frmname) {
10551055
}
10561056

10571057
function doSearch(url) {
1058+
console.log(url);
1059+
return false;
10581060
var url = url || '/search/';
1059-
var loc = url + '?q=' + $('.search-input').val();
1060-
1061+
var loc = url + '?q=' + $('.search-input').val().'&token='. $('input[name="token"]').val();
10611062
location.href = loc;
10621063
return false;
10631064
}

0 commit comments

Comments
 (0)