mirror of
https://github.com/wallabag/wallabag.git
synced 2025-10-15 19:42:08 +00:00
Fixes to search engine
Changed the search parameter from POST to GET. Also, adapted the Baggy theme.
This commit is contained in:
parent
a33a3d2afb
commit
2c4e7a1cea
7 changed files with 100 additions and 23 deletions
|
@ -605,8 +605,8 @@ class Poche
|
|||
break;
|
||||
|
||||
case 'search':
|
||||
if (isset($_POST['search'])){
|
||||
$search = $_POST['search'];
|
||||
if (isset($_GET['search'])){
|
||||
$search = $_GET['search'];
|
||||
$tpl_vars['entries'] = $this->store->search($search);
|
||||
$tpl_vars['nb_results'] = count($tpl_vars['entries']);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue