Skip to content

Commit b68ab45

Browse files
authored
Resolves issue fortran-lang#217
1 parent ddcac88 commit b68ab45

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

assets/js/package_search.js

+5-2
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,17 @@ function query_params(query) {
1111
query = query.split('+').join(' ');
1212

1313
var params = {},
14-
tokens,
14+
tokens,qstring='',
1515
re = /[?&]?([^=]+)=([^&]*)/g;
1616

1717
while (tokens = re.exec(query)) {
1818
params[decodeURIComponent(tokens[1])] = decodeURIComponent(tokens[2]);
1919
}
20+
for( var i =0; i<query.length;i++){
21+
qstring= qstring+params[i];
22+
}
2023

21-
return params;
24+
return qstring;
2225
}
2326

2427
function search(data){

0 commit comments

Comments
 (0)